User privileges

From GNU MediaGoblin Wiki
Revision as of 23:48, 10 May 2020 by Sturm (talk | contribs) (→‎To change the default set of privileges)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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://
git fetch --all
git cherry-pick 0a5981fd5416c60858c3e460f943692d1c62629d

Then set something like

user_privilege_scheme= "reporter,commenter"

in your mediagoblin.ini