Difference between revisions of "User privileges"

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
==To change the default set of privileges==
 
==To change the default set of privileges==
 
This is currently possible by checking out a branch that tilly-q is working on.
 
This is currently possible by checking out a branch that tilly-q is working on.
  +
<pre>
  +
git remote add tilly-q git://gitorious.org/mediagoblin/npigeons-mediagoblin.git
  +
git fetch --all
  +
git cherry-pick 0a5981fd5416c60858c3e460f943692d1c62629d
  +
</pre>

Revision as of 09:30, 22 January 2014

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