Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 769 Bytes

CheckProjectAccess.md

File metadata and controls

30 lines (16 loc) · 769 Bytes

bimdata.CheckProjectAccess

Properties

Name Type Description Notes
hasReadPermission Boolean
hasWritePermission Boolean
hasAdminPermission Boolean
tokenScopes [String]
usableScopes [String] Some tokens may have write scopes (eg: model:write) but the user of the token is a guest in the project so they can't use the scopes.
userRole Number * `100` - admin * `50` - user * `25` - guest [optional]
user User [optional]

Enum: UserRoleEnum

  • 100 (value: 100)

  • 50 (value: 50)

  • 25 (value: 25)

  • null (value: null)