mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-04 22:52:54 +00:00
20 lines
441 B
TypeScript
20 lines
441 B
TypeScript
|
|
/**
|
||
|
|
* Enumerates the access control types for an ACL entry
|
||
|
|
* @export
|
||
|
|
*/
|
||
|
|
export enum AccessControlAccessType {
|
||
|
|
Read = 'READ',
|
||
|
|
Write = 'WRITE',
|
||
|
|
ReadWrite = 'READ_WRITE'
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Possible values for the ACL access status, where expired means we are past the expiration time
|
||
|
|
*/
|
||
|
|
export enum AclAccessStatus {
|
||
|
|
// Access existed but is past the expiration
|
||
|
|
EXPIRED = 'EXPIRED',
|
||
|
|
// Access is currently standing
|
||
|
|
ACTIVE = 'ACTIVE'
|
||
|
|
}
|