This patch includes functions to manage ACLs for the
When a user access slashcode web it receives with the
params the ACLs she has.
I have to modify Slash::DB::MySQL getUser and setUser
and Slash::Utility to include the manage functions.
You need to create a new table calles users_acl. In
will live all the information about the ACLs and the
ACL is an acronym fro Access Control List and it is a
mechanism very powerfull to give power to the users in
a very precise way.
To apply the patch copy the file in the main slashcode2
directory and execute:
bash-2.03$ tar xvfz slash-2.0.0-acl.tgz
bash-2.03$ patch -p0 < slash2-bp/ACL.patch
patching file `Slash/DB/MySQL/MySQL.pm'
patching file `Slash/Utility/Utility.pm'
bash-2.03$ mysql slash <
Where slash is your database. The script for the
works with MySQL but it's very easy to modify it for
If you have any problem please, contact me:
Log in to post a comment.