Index: openacs-4/packages/acs-content-repository/www/doc/api/permission.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/permission.adp,v diff -u -r1.2.2.2 -r1.2.2.3 --- openacs-4/packages/acs-content-repository/www/doc/api/permission.adp 1 Dec 2015 11:17:40 -0000 1.2.2.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/permission.adp 9 Jun 2016 08:44:49 -0000 1.2.2.3 @@ -21,14 +21,14 @@ See also: {content_item }
Determine if the user may grant a certain permission to another user. The permission may only be granted if the user has the permission himself and posesses the cm_perm access, or if the user -posesses the cm_perm_admin access.
-Author: | Karl Goldstein |
---|---|
-
+
Determine if the user may take a certain permission away from another user. The permission may only be revoked if the user has the permission himself and posesses the cm_perm access, while the other user does not, or if the user posesses the cm_perm_admin -access.
-Author: | Karl Goldstein |
---|---|
-
+
Determine if the user has the specified permission on the specified object. Does NOT check objects recursively: that is, if the user has the permission on the parent object, he does not -automatically gain the permission on all the child objects.
-Author: | Karl Goldstein |
---|---|
-
+
This is a helper function for content_permission.grant_permission and should not be called -individually.
-Grants a permission and revokes all descendants of the -permission, since they are no longer relevant.
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
This is a helper function for content_permission.grant_permission and should not be called -individually.
-Grants a permission and revokes all descendants of the -permission, since they are no longer relevant.
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
Make the child object inherit all of the permissions of the parent object. Typically, this function is called whenever a new -object is created under a given parent
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
This is a helper function for content_permission.revoke_permission and should not be called -individually.
-Revokes a permission but grants all child permissions to the -holder, to ensure that the permission is not permanently lost
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
This is a helper function for content_permission.revoke_permission and should not be called -individually.
-Revokes a permission but grants all child permissions to the -holder, to ensure that the permission is not permanently lost
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|