Blocklist: Add configuration elements:
- "default_tag_blocklist": string containing a list of space-separated tags to add to a newly created user blocklist - "default_tag_blocklist_for_anonymous": boolean telling if the above mentionned default blocklist is applied to anonymous users - Added permissions to edit own blocklist, or others
This commit is contained in:
parent
d102578b54
commit
f8242f8bea
1 changed files with 8 additions and 0 deletions
|
@ -67,6 +67,12 @@ webhooks:
|
|||
|
||||
default_rank: regular
|
||||
|
||||
# default blocklisted tags (space separated)
|
||||
default_tag_blocklist: ''
|
||||
|
||||
# Apply blocklist for anonymous viewers too
|
||||
default_tag_blocklist_for_anonymous: yes
|
||||
|
||||
privileges:
|
||||
'users:create:self': anonymous # Registration permission
|
||||
'users:create:any': administrator
|
||||
|
@ -76,11 +82,13 @@ privileges:
|
|||
'users:edit:any:pass': moderator
|
||||
'users:edit:any:email': moderator
|
||||
'users:edit:any:avatar': moderator
|
||||
'users:edit:any:blocklist': moderator
|
||||
'users:edit:any:rank': moderator
|
||||
'users:edit:self:name': regular
|
||||
'users:edit:self:pass': regular
|
||||
'users:edit:self:email': regular
|
||||
'users:edit:self:avatar': regular
|
||||
'users:edit:self:blocklist': regular
|
||||
'users:edit:self:rank': moderator # one can't promote themselves or anyone to upper rank than their own.
|
||||
'users:delete:any': administrator
|
||||
'users:delete:self': regular
|
||||
|
|
Loading…
Reference in a new issue