mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
FEAT: new orchest permissions
This commit is contained in:
@@ -14,8 +14,11 @@ export interface Permission {
|
||||
usage: PermissionUsages;
|
||||
}
|
||||
|
||||
// like field numbers in gRPC, avoid to change (or reuse previously used) seqids once its
|
||||
// deployed to DUC
|
||||
/*
|
||||
- like field numbers in gRPC, avoid to change (or reuse previously used) seqids once its deployed to DUC
|
||||
- it is possible to update claim and usage, not seqid
|
||||
*/
|
||||
|
||||
/*export const Permissions: {
|
||||
[P in keyof any]: { [Q in keyof any]: Permission };
|
||||
} = {*/
|
||||
@@ -201,9 +204,19 @@ export const Permissions = {
|
||||
},
|
||||
|
||||
ORCHEST: {
|
||||
USE: {
|
||||
INTELLIGENCE: {
|
||||
seqid: 31,
|
||||
claim: 'orchest:use',
|
||||
claim: 'intelligence:open',
|
||||
usage: PermissionUsages.PUBLIC,
|
||||
},
|
||||
APP_BUILDER: {
|
||||
seqid: 32,
|
||||
claim: 'app-builder:open',
|
||||
usage: PermissionUsages.PUBLIC,
|
||||
},
|
||||
MACHINE_LEARNING: {
|
||||
seqid: 33,
|
||||
claim: 'machine-learning:open',
|
||||
usage: PermissionUsages.PUBLIC,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user