Restrict superuser, eval mode offer bizadmin once it exists so evaluators can see all the things now restricted to superuser
This commit is contained in:
@@ -88,6 +88,9 @@ export default new Vuex.Store({
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
isSuperUser: state => {
|
||||
return state.userId === 1;
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
|
||||
Reference in New Issue
Block a user