ALL
ALL
Kolab ACL speak for all permissions on a shared object.
Maps folder permissions into the Horde_Permission system.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_storage : \Horde_Perms_Permission_Kolab_Storage
The Kolab Folder these permissions belong to.
__construct(\Horde_Perms_Permission_Kolab_Storage $storage, \Horde_Group_Base $groups)
Constructor.
\Horde_Perms_Permission_Kolab_Storage | $storage | The storage object represented by this permission instance. |
\Horde_Group_Base | $groups | The group handler. |
addGroupPermission(integer $groupId, integer $permission, boolean $update = true)
Grants a group additional permissions to this object.
integer | $groupId | The id of the group to grant additional permissions to. |
integer | $permission | The permission (DELETE, etc.) to add. |
boolean | $update | Whether to automatically update the backend. |
removeUserPermission(string $user = null, integer $permission = null, boolean $update = true)
Removes a permission that a user currently has on this object.
string | $user | The user to remove the permission from. Defaults to all users. |
integer | $permission | The permission (DELETE, etc.) to remove. Defaults to all permissions. |
boolean | $update | Whether to automatically update the backend. |
removeGuestPermission(integer $permission = null, boolean $update = true)
Removes a permission that guests currently have on this object.
integer | $permission | The permission (DELETE, etc.) to remove. Defaults to all permissions. |
boolean | $update | Whether to automatically update the backend. |
removeCreatorPermission(integer $permission = null, boolean $update = true)
Removes a permission that creators currently have on this object.
integer | $permission | The permission (DELETE, etc.) to remove. Defaults to all permissions. |
boolean | $update | Whether to automatically update the backend. |
removeDefaultPermission(integer $permission = null, boolean $update = true)
Removes a default permission on this object.
integer | $permission | The permission (DELETE, etc.) to remove. Defaults to all permissions. |
boolean | $update | Whether to automatically update the backend. |
removeGroupPermission(integer $groupId = null, integer $permission = null, boolean $update = true)
Removes a permission that a group currently has on this object.
integer | $groupId | The id of the group to remove the permission from. Defaults to all groups. |
integer | $permission | The permission (DELETE, etc.) to remove. Defaults to all permissions. |
boolean | $update | Whether to automatically update the backend. |