Module safe_app::ffi::mutable_data::permissions [] [src]

FFI for mutable data permissions and permission sets.

Structs

UserPermissionSet

FFI object representing a (User, Permission Set) pair.

Enums

MDataAction

Permission actions.

Statics

USER_ANYONE

Special value that represents User::Anyone in permission sets.

Functions

mdata_list_permission_sets

Return each (user, permission set) pair in the permissions.

mdata_permissions_free

Free the permissions from memory.

mdata_permissions_get

Get the permission set corresponding to the given user. Use a constant USER_ANYONE for anyone.

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.