User privileges

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Since 0.6.0, there's a user privileges/permissions system. You can make the user "USERNAME" an admin by doing

./bin/gmg makeadmin USERNAME

An admin gets access to an Admin Panel, and when looking at other user pages, is able to revoke/give privileges. Default ones are:

active 	Yes 	
admin 	No 	
commenter 	Yes 	
moderator 	No 	
reporter 	Yes 	
uploader 	Yes 	

To change the default set of privileges

This is currently possible by checking out a branch that tilly-q is working on.

git remote add tilly-q git://gitorious.org/mediagoblin/npigeons-mediagoblin.git
git fetch --all
git cherry-pick 0a5981fd5416c60858c3e460f943692d1c62629d

Then set something like

user_privilege_scheme= "reporter,commenter"

in your mediagoblin.ini