![]() |
NDEVR
API Documentation
|
Defines permissions for a user to access a specific resource, including encryption data. More...
Public Attributes | |
| bool | allow_export = false |
| Whether the user can export the resource. | |
| bool | allow_measure = false |
| Whether the user can measure in the resource. | |
| bool | allow_tree = false |
| Whether the user can view the resource tree. | |
| HighCapacityBuffer< uint01 > | encoded_decrypt_password |
| Encrypted decryption password. | |
| HighCapacityBuffer< uint01 > | encoded_link_password |
| Encrypted link password. | |
| HighCapacityBuffer< uint01 > | encoded_resource_password |
| Encrypted resource password. | |
| bool | has_edit_permissions = false |
| Whether the user can edit the resource. | |
| bool | has_write_permissions = false |
| Whether the user can write to the resource. | |
| bool | is_public = false |
| Whether this permission is public. | |
| TimeSpan | lifespan = Constant<TimeSpan>::Invalid |
| Duration before this permission expires. | |
| UUID | link_password = Constant<UUID>::Invalid |
| Password for shared links. | |
| bool | link_shared = false |
| Whether the resource is shared via link. | |
| sint04 | permission_id = Constant<sint04>::Invalid |
| Numeric permission ID. | |
| String | permission_name |
| Display name for this permission. | |
| sint04 | permission_owner_id = Constant<sint04>::Invalid |
| User who owns this permission. | |
| bool | permission_read_validated = false |
| Whether read permission has been validated. | |
| bool | permission_write_validated = false |
| Whether write permission has been validated. | |
| bool | share_owner_info = false |
| Whether to share owner information. | |
| Buffer< EncodedMessage > | user_permissions |
| Encoded permission messages. | |
| Public Attributes inherited from ServerCredentials | |
| bool | credentials_validated = false |
| Whether credentials have been validated. | |
| UUID | encoded_user_password |
| Hashed/encoded user password. | |
| String | ip_address |
| IP address of the client. | |
| sint04 | user_id = Constant<sint04>::Invalid |
| Numeric user ID assigned by the server. | |
| String | username |
| The user's login name. | |
| Public Attributes inherited from ResourceID | |
| sint04 | resource_id = Constant<sint04>::Invalid |
| Numeric resource ID. | |
| String | resource_name |
| Human-readable name of the resource. | |
| sint04 | resource_owner = Constant<sint04>::Invalid |
| User ID of the resource owner. | |
| sint04 | resource_version = Constant<sint04>::Invalid |
| Version number of the resource. | |
Defines permissions for a user to access a specific resource, including encryption data.
Definition at line 155 of file ServerActions.h.