From: Micah Y. <yo...@ho...> - 2001-05-15 04:56:19
|
I need to give regular users the ability to edit Slashboxes -- one or more of them, with privileges granted by the administrator. I'm about to write code to handle that, but I thought I'd ask if it has already been done. Thanks |
From: Alvaro d. C. <ac...@ba...> - 2001-05-15 06:21:00
|
El 14 May 2001 21:57:10 -0400, Micah Yoder escribió: > I need to give regular users the ability to edit Slashboxes -- one or more of > them, with privileges granted by the administrator. I'm about to write code > to handle that, but I thought I'd ask if it has already been done. The best way to do this is to introduce and ACL system. I have sent a patch to slashcode 2.0.0 to include ACL functions and some minor modifications in getUser and setUser so when a user enter in the system, it receives her ACLs. You can take it from Sourceforge. I am working now in the translation to Plugins of some functionality that shows how to use this ACLs. We have introduced it in our system because we let our users to have their own section and put there news and edit a slashbox which appears there. When I have all the plugins (2 o 3 days max) I will ask in the list the best place to put them (¿sourceforge patchs?). Bye bye -- Alvaro > > Thanks > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |
From: Micah Y. <yo...@ho...> - 2001-05-15 20:50:56
|
> The best way to do this is to introduce and ACL system. I have sent a > patch to slashcode 2.0.0 to include ACL functions and some minor > modifications in getUser and setUser so when a user enter in the system, > it receives her ACLs. You can take it from Sourceforge. That looks good, but now I'm thinking along the lines of hacking up a quick PHP page or two to let authorized users (I'd give them a username/password separate from Slash) edit their box(es) there. I'd like to avoid modifying or patching Slash too much -- that would make it a pain to upgrade. |
From: Alvaro d. C. <ac...@ba...> - 2001-05-16 08:18:06
|
El 15 May 2001 13:51:47 -0400, Micah Yoder escribió: > > The best way to do this is to introduce and ACL system. I have sent a > > patch to slashcode 2.0.0 to include ACL functions and some minor > > modifications in getUser and setUser so when a user enter in the system, > > it receives her ACLs. You can take it from Sourceforge. > > That looks good, but now I'm thinking along the lines of hacking up a quick > PHP page or two to let authorized users (I'd give them a username/password > separate from Slash) edit their box(es) there. I'd like to avoid modifying > or patching Slash too much -- that would make it a pain to upgrade. Sure, but the plugin architecture helps a lot in introducing changes in slashcode in an independent way. I will try to put the ACL system as an independant plugin. Cheers -- Alvaro > > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |