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 }

 

API

- +content_permission.grant_permission_h

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.

- +individually.

Grants a permission and revokes all descendants of the +permission, since they are no longer relevant.

Author:Karl Goldstein
Parameters:
@@ -190,15 +180,13 @@ -
See Also:content_permission.grant_permission
-

 

-
  • +

 

+
  • Procedure: -content_permission.inherit_permissions
  • +content_permission.inherit_permissions

    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

    - +object is created under a given parent

    Author:Karl Goldstein
    Parameters:
    @@ -217,17 +205,14 @@ -
    See Also:content_permission.grant, acs_permission.grant_permission
    -

     

    -
    • +

     

    +
  • Procedure: -content_permission.revoke_permission
  • +content_permission.revoke_permission

    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

    - +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:
    @@ -248,17 +233,14 @@ -
    See Also:content_permission.revoke_permission
    -

     

    -
    • +

     

    +
  • Procedure: -content_permission.revoke_permission_h
  • +content_permission.revoke_permission_h

    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

    - +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:
    @@ -280,7 +262,9 @@
    See Also:content_permission.revoke_permission
    + +

     

    -Last Modified: $‌Id: permission.html,v 1.1.1.1 2001/03/13 22:59:26 -ben Exp $ +Last Modified: $‌Id: permission.html,v 1.1.1.1.30.1 2016/06/09 +08:21:01 gustafn Exp $