only show "show all statuses" if user has privilege
This commit is contained in:
parent
04d1741c80
commit
8b3bdd2191
1 changed files with 2 additions and 1 deletions
|
|
@ -274,7 +274,8 @@ const ModerationTools = {
|
|||
|
||||
switch (group) {
|
||||
case 'action':
|
||||
return true
|
||||
if (name === 'statuses') return this.privileged('users_read')
|
||||
else return true
|
||||
case 'rights':
|
||||
return this.canGrantRole(name, value)
|
||||
case 'state':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue