OZONE Asylum
Forums
Outpatient Counseling
On creating module permissions module... how do I do it
This page's ID:
29848
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Depends a bit on the language, but one way to go basicall give each and every functionality a (sensible) name (module.whatever.verb), then have a big table of (user, name) and then have a function to do the central checking if there's an entry to with value user,name in the table, and if not, abort & go to error page. Bear in mind, that if you have this fine grained activity control, it's going to be a pain in the ass to allow somebody something (ie. you have to click a gazillion things for your new news editor to be able to work), or you'll have 'permission templates' - and are virtually every time where you were before you started this ordeal, just with a lot more resources spend on bogus security.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »