Use expressions as validators

This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2019-06-05 00:17:36 -07:00
1 parent 08e3933c4a
commit fdda68434b
7 files changed
+87 -90

No files matched your search

+1 -3
View File
@@ -303,9 +303,7 @@ export interface Preset {
export type PermissionSet = {
[resource: string]: {
access: number;
validate?: {
[validator: string]: boolean;
};
validate?: Expression;
filter: Expression;
};
}[];