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 |
From: Don S. <do...@se...> - 2002-11-08 19:38:22
|
Not having seen the code, I may be out of order, but I why are you "merging users and groups"? Don. On Fri, 8 Nov 2002, Matthew McNaney wrote: > 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 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > |
From: Matthew M. <ma...@tu...> - 2002-11-08 19:57:31
|
> Not having seen the code, I may be out of order, but I why are you > "merging users and groups"? As in determining which users are in which groups and what permissions they inherit from such. Matt Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |
From: Don S. <do...@se...> - 2002-11-08 20:04:39
|
Ah. I had read it as "merging" meaning "eliminating one of them". I'm a former Global Crossing employee so those terminologies like "merging" and "synergy" set off alarms in my head. :p Don. On Fri, 8 Nov 2002, Matthew McNaney wrote: > > Not having seen the code, I may be out of order, but I why are you > > "merging users and groups"? > > As in determining which users are in which groups and what permissions > they inherit from such. > > Matt > > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > ICQ: 141057403 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > |
From: Matthew M. <ma...@tu...> - 2002-11-08 20:17:58
|
Heh. I should have explained better. The bottomline is, this is something that was needed. There needed to be a way for all modules to set conditions and variables for users outside of their cookies. Also we needed to allow things to be set to groups that would pass on to the users. That is not finished yet, but it should be by the beginning of next week. Have a good weekend, Matt > Ah. I had read it as "merging" meaning "eliminating one of them". I'm > a former Global Crossing employee so those terminologies like "merging" > and "synergy" set off alarms in my head. :p > > Don. > > On Fri, 8 Nov 2002, Matthew McNaney wrote: > >> > Not having seen the code, I may be out of order, but I why are you >> "merging users and groups"? >> >> As in determining which users are in which groups and what permissions >> they inherit from such. >> >> Matt >> >> >> Matthew McNaney >> Internet Systems Architect >> Electronic Student Services >> Email: ma...@tu... >> URL: http://phpwebsite.appstate.edu >> Phone: 828-262-6493 >> ICQ: 141057403 >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: See the NEW Palm >> Tungsten T handheld. Power & Color in a compact size! >> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |