Remove admin/superadmin tests
This commit is contained in:
parent
6af4c0db9e
commit
14ec6d468a
8 changed files with 15 additions and 17 deletions
|
|
@ -40,8 +40,7 @@ async function getAuthenticatedConfig(context) {
|
|||
user: {
|
||||
id: context.user.id,
|
||||
username: context.user.username,
|
||||
namespace: context.user.namespace,
|
||||
admin: (config.roles.global[context.user.role]["admin"] || false)
|
||||
namespace: context.user.namespace
|
||||
},
|
||||
globalPermissions,
|
||||
editors: config.editors,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue