From: Matthew M. <ma...@tu...> - 2002-11-08 19:22:55
|
Greetings, The user module has gone through a large rewrite. mod_rights_tbl and rights_file no longer exist. You can remove them from your mod_info.php file. Module Permissions are automatically set when your module is installed. If you wish to have sub permissions you do not have to create a table for it. Just make a module_rights.txt file in your conf directory. See the user module for an example. The modules table no longer contains the forementioned columns, nor does it contain allow_user and allow_group. Before the rewrite, the modules table had to keep track of the users and groups that were allowed to access it by these two columns. All the users were kept in a serialized array. This has been done away with. I will update the documentation to explain how to use the setUserVar and setGroupVar functions. These functions were called setModuleVar but they have been separated to allow variables to be set in groups and users. More on this later. I have not written the code to merge users and groups. They are their own entities at this point. That code will get started today but expect it will not be finished until next week. I have tested a fresh install and it appears to work as intended. Please write me if you have any problems. Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |