ePortal::ThePersistent::ExtendedACL - Extended Access Control Lists base class for persistent objects.
ePortal::ThePersistent::ExtendedACL implements extended processing of ACL based on SQL queries.
Two attributes are mandatory for ePortal::ThePersistent::ExtendedACL:
ePortal::ThePersistent::ExtendedACL
uid - user name of object owner xacl_read - read access to the object
Overloaded method. Adds ACL specific attributes uid and xacl_read to the object.
uid
xacl_read
Additional parameters:
xacl_uid_field
Redefine standard uid attribute name to something another.
xacl_read_field
Redefine standard xacl_read attribute name to something another.
Construct SQL WHERE clause based on uid and xacl_read fields.
Dummy function. Returns True. Read access is restricted in SQL WHERE clause.
Adds some WHERE conditions to comply with ACL.
Sergey Rusakov, <rusakov_sa@users.sourceforge.net>
To install ePortal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ePortal
CPAN shell
perl -MCPAN -e shell install ePortal
For more information on module installation, please visit the detailed CPAN module installation guide.