Module safe_app::ffi::mutable_data::permissions
[−]
[src]
FFI for mutable data permissions and permission sets.
Enums
MDataAction |
Permission actions. |
PermissionValue |
State of action in the permission set |
Statics
USER_ANYONE |
Special value that represents |
Functions
mdata_permission_set_allow⚠ |
Allow the action in the permission set. |
mdata_permission_set_clear⚠ |
Clear the actions in the permission set. |
mdata_permission_set_deny⚠ |
Deny the action in the permission set. |
mdata_permission_set_free⚠ |
Free the permission set from memory. |
mdata_permission_set_is_allowed⚠ |
Read the permission set. |
mdata_permission_set_new⚠ |
Create new permission set. |
mdata_permissions_for_each⚠ |
Iterate over the permissions.
The |
mdata_permissions_free⚠ |
Free the permissions from memory. |
mdata_permissions_get⚠ |
Get the permission set corresponding to the given user.
Use a constant |
mdata_permissions_insert⚠ |
Insert permission set for the given user to the permissions. |
mdata_permissions_len⚠ |
Get the number of entries in the permissions. |
mdata_permissions_new⚠ |
Create new permissions. |