|
@@ -156,7 +156,7 @@ export const UserStore = defineStore({
|
|
|
return GQL.post('', body)
|
|
|
},
|
|
|
checkIsAdmin () {
|
|
|
- const adminroles = ['admin', 'group_admin']
|
|
|
+ const adminroles = ['root', 'admin', 'group_admin']
|
|
|
for (let r = 0; r < this.roles.length; r++) {
|
|
|
if (adminroles.indexOf(this.roles[r]) !== -1) {
|
|
|
this.isAdmin = true;
|