Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
mvv_studiengang.php File Reference

Variables

 $privileges
 

Variable Documentation

$privileges
Initial value:
= [
'lock_status' => [
'ausgelaufen'
]

Permissions

read: MVVPlugin::PERM_READ | 1 read && write: MVVPlugin::PERM_WRITE | 3 read && write && create && delete: MVVPlugin::PERM_CREATE | 7

Structure

['default_table' => [name_of_role => permission]] Permissions for the object itself regardless of its status. Every tuple defines the permission for a different role (the role of a user who wants to handle this object].

['default_fields' => [name_of_role => permission]] Default permissions for all fields of this object regardless of its status. Maybe overwritten by an entry for a single field. Every tuple defines the permission for a different role (the role of a user who wants to handle this object].

['fields' => ... ] Permissions for a single field of this object (db_fields and relations of the SORM-object]. Overwites above declaration for this field.

['fields' => name_of_field ['default' => [name_of_role => permission]]] Default permission for one field for every given role regardless of object's status.

['fields' => name_of_field [name_of_status => [name_of_role => permission]]] Permission for one field of the object with indicated status for every given role. Overwrites above declaration.