phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] Improved ACL


From: Sigurd Nes
Subject: [Phpgroupware-developers] Improved ACL
Date: Fri, 25 Nov 2005 13:36:40 +0100 (CET)

I want to propose some changes to the acl - which is demonstrated in the app 
hrm (a Human Resource Management system under development)
In order to not break the current API - I have added an acl-table (hrm_acl) to 
the appplication along with the acl-class.
The difference to the phpgw_acl - is that acl_grantor and acl_type is added. 
This means that one is able to grant rights per location - and one is able to 
mask individual rights inherited from groups. One is also able (for admins) to 
grant pr group pr location. 

The call to functions can be issued as for  the current acl-class (except for 
setting grants)- which means there is no need for modification to existing 
applications.

Please give it a try (check out hrm fom HEAD) and consider this for the API.
You need XSLT support - which means either an API from HEAD or a patched 
phpgwapi 0.9.16.009
http://savannah.gnu.org/patch/download.php?item_id=4035&item_file_id=5499

download  the patch to your phpgroupware directory and issue the command:
patch -p0 < patch_xsl_support_16_009.diff

Regards

Sigurd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]