From: <no...@so...> - 2001-05-10 10:56:48
|
Patches item #422981, was updated on 2001-05-10 03:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=422981&group_id=4421 Category: MAIN branch Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alvaro del Castillo (acs2) Assigned to: Nobody/Anonymous (nobody) Summary: ACL support for slashcode 2.0.0 Initial Comment: This patch includes functions to manage ACLs for the users. When a user access slashcode web it receives with the other params the ACLs she has. I have to modify Slash::DB::MySQL getUser and setUser functions and Slash::Utility to include the manage functions. You need to create a new table calles users_acl. In this table will live all the information about the ACLs and the users. 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 slash2-bp/ACL.patch slash2-bp/sql/mysql/users_acl.sql 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 < slash2-bp/sql/mysql/users_acl.sql Where slash is your database. The script for the database only works with MySQL but it's very easy to modify it for Postgres or Oracle. If you have any problem please, contact me: ac...@ba... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=422981&group_id=4421 |