mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
@@ -1,3 +1,5 @@
|
||||
import { Filter } from './query';
|
||||
|
||||
export type PermissionsAction = 'create' | 'read' | 'update' | 'delete' | 'comment' | 'explain';
|
||||
|
||||
export type Permission = {
|
||||
@@ -6,7 +8,7 @@ export type Permission = {
|
||||
collection: string;
|
||||
action: PermissionsAction;
|
||||
permissions: Record<string, any>;
|
||||
validation: Record<string, any> | null;
|
||||
validation: Filter | null;
|
||||
limit: number | null;
|
||||
presets: Record<string, any> | null;
|
||||
fields: string[] | null;
|
||||
|
||||
Reference in New Issue
Block a user