My favorites | Sign in
Project Logo
                
Search
for
Updated Nov 30, 2007 by adamtaunowilliams
acl  
The acl entity

Introduction

The acl entity encodes an access control rule. Access Control Rules (acl) are a generic way of controlling access to most objects. In OpenGroupware the Contact, Enterprise, Project, Team, and BLOB entities all support ACLs

IMPORTANT: The acl is one of the two entity types that can under go transformation; specific conditions can transform an acl into an assignment. Read Understanding Entities for specific information.

Details

Each acl applies to another specific object, either a Contact or a Team. The "targetObjectId" is guaranteed to be unique within a set of ACLs. The "parentObjectId" is the object for which the ACL rules controls access.

In order to eliminate an ACL you must put it with a blank operation (permit no operations). This will delete the ACL. ACLs operate in this way so that they are deliberately difficult to remove by accident.

When storing an ACL to the server only the "targetObjectId" and "operations" keys must be provided. Other keys will be silently ignored by the ACL update routines.

Attributes

Examples

{'entityName': 'acl',
 'operations': 'wr',
 'parentObjectId': 10160,
 'targetEntityName': 'Contact',
 'targetObjectId': 10160}

{'entityName': 'acl',
 'operations': 'wr',
 'parentObjectId': 10160,
 'targetEntityName': 'Team',
 'targetObjectId': 9981}

{'entityName': 'acl',
 'operations': 'r',
 'parentObjectId': 10160,
 'targetEntityName': 'Team',
 'targetObjectId': 10003}

{'entityName': 'acl',
 'operations': 'wr',
 'parentObjectId': 10160,
 'targetEntityName': 'Team',
 'targetObjectId': 9991}

{'entityName': 'acl',
 'operations': 'r',
 'parentObjectId': 10160,
 'targetEntityName': 'Contact',
 'targetObjectId': 472850}

Home


Sign in to add a comment
Hosted by Google Code