User Privledges
-
I like the fact that WP has user levels, however, I feel they are far too lacking. Preset levels make it harder to customize WP into other purposes. If you are using it as a community blog amoungst people you trust, it’s great – but what if it’s a professional site that requires moderation and editing of posts? WP fails here because level 0 *can’t* post, and level 1 can publish regardless.
I have worked around this myself by hacking level one down to only being able to post articles in a “draft” state, but it was annoying to deal with levels being so inflexible.
I would really like to see User Privledges instituted. “Levels” then would simply be preset values. Other people have had the same idea, but reccommended using a whole other table, which would be the proper way to do things. You could, of course, simplify by using a tab/space/comma delimitered string of 1’s and 0’s to determine access rights. Either way it is done, it would be handy to then be able to:
<?php if( user_can('edit-posts', 'lower-users') == true) { display_article(); } ?>
Regarless of storage means, these are some of the “privledges” that I think should be instituted:
(* = a feature that doesn’t exist yet)- Profile:
- Can edit profile
- Can change user name*
- Articles:
- Can Add Articles
- Can Set Article State To
- Private
- Draft
- Publish
- Can Edit
- Own
- Others(lower level)
- Others(same level)
- Others(higher level)
- Can Change Post Time
- Own
- Others(lower level)
- Others(same level)
- Others(higher level)
- Commenting
- Can Add Comments
- Can Edit Comments
- Own
- Others(lower level)
- Others(same level)
- Others(higher level)
- Can Delete Comments
- Own
- Others(lower level)
- Others(same level)
- Others(higher level)
- Can Change Post Time
- Own
- Others(lower level)
- Others(same level)
- Others(higher level)
- Can approve/disapprove comments
- Upload
- Can Add Uploads
- Can Delete Uploads
- Own
- Others(lower level)
- Others(same level)
- Others(higher level)
- Categories
- Can Add Categories
- Can Delete Categories
- Can Edit Categories
- Links
- Can Edit Links
- Can Delete Links
- Can Edit Links
- Administrative
- Users
- Can Add Users
- Can Delete Users
- Lower Level
- Same Level
- Higher Level
- Can Edit Users
- Lower Level
- Same Level
- Higher Level
- Can Promote Users
- Can Demote Users
- Can Change Options
- Can Edit Template
So, did I miss anything there?
- The topic ‘User Privledges’ is closed to new replies.