User privileges: Difference between revisions

From GNU MediaGoblin Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 14: Line 14:
</pre>
</pre>


: ''How do we 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.
<pre>
git remote add tilly-q git://gitorious.org/mediagoblin/npigeons-mediagoblin.git
git fetch --all
git cherry-pick 0a5981fd5416c60858c3e460f943692d1c62629d
</pre>
Then set something like <pre>user_privilege_scheme= "reporter,commenter"</pre> in your mediagoblin.ini

Latest revision as of 03:48, 11 May 2020

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