fix: display admin link to all admin permissions (#1052)
This commit is contained in:
parent
744e6e3248
commit
3db491a8a4
@ -265,7 +265,7 @@ export default {
|
||||
}
|
||||
},
|
||||
isAdmin() {
|
||||
return _.includes(this.permissions, 'manage:system')
|
||||
return _.intersection(this.permissions, ['manage:system', 'write:users', 'manage:users', 'write:groups', 'manage:groups', 'manage:navigation', 'manage:theme', 'manage:api']).length > 0
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
Loading…
Reference in New Issue
Block a user