Search…
Permissions
The Permission bitmask represents authorized privileges in a generic manner for user, application and organization resources.
The permissions namespace has been split into partitions for readability with an upper bound of 2^24.

Generic Permissions

1
// Authenticate permission
2
Authenticate Permission = 0x1
3
4
// ReadResources generic permission
5
ReadResources Permission = 0x2
6
7
// CreateResource generic permission
8
CreateResource Permission = 0x4
9
10
// UpdateResource generic permission
11
UpdateResource Permission = 0x8
12
13
// DeleteResource generic permission
14
DeleteResource Permission = 0x10
15
16
// GrantResourceAuthorization generic permission
17
GrantResourceAuthorization Permission = 0x20
18
19
// RevokeResourceAuthorization generic permission
20
RevokeResourceAuthorization Permission = 0x40
21
22
// Publish permission
23
Publish Permission = 0x80
24
25
// Subscribe permission
26
Subscribe Permission = 0x100
27
28
// Reserved permission - placeholder for future use
29
Reserved Permission = 0x200
Copied!

Ident-Specific Permissions

Ident-specific permissions begin at 2^10:
1
// ListApplications permission
2
ListApplications Permission = 0x400
3
4
// CreateApplication permission
5
CreateApplication Permission = 0x800
6
7
// UpdateApplication permission
8
UpdateApplication Permission = 0x1000
9
10
// DeleteApplication permission
11
DeleteApplication Permission = 0x2000
12
13
// ListApplicationTokens permission
14
// ListApplicationTokens Permission = 0x4000
15
16
// CreateApplicationToken permission
17
// CreateApplicationToken Permission = 0x8000
18
19
// DeleteApplicationToken permission
20
// DeleteApplicationToken Permission = 0x10000
Copied!

Privileged Permissions

A set of privileged permissions begin at 2^20:
1
// ListUsers permission for administrative listing of users
2
ListUsers Permission = 0x100000
3
4
// CreateUser permission for administrative creation of new users
5
CreateUser Permission = 0x200000
6
7
// UpdateUser permission for administrative updates to existing users
8
UpdateUser Permission = 0x400000
9
10
// DeleteUser permission for administratively removing users
11
DeleteUser Permission = 0x800000
12
13
// ListTokens permission for administration to retrieve a list of all legacy auth tokens
14
ListTokens Permission = 0x1000000
15
16
// CreateToken permission for administratively creating new legacy auth tokens
17
CreateToken Permission = 0x2000000
18
19
// DeleteToken permission for administratively revoking legacy auth tokens
20
DeleteToken Permission = 0x4000000
21
22
// Sudo permission
23
Sudo Permission = 0x20000000
Copied!
Last modified 1mo ago