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:
2022-08-24 18:44:25 +00:00
parent 089ba29fbb
commit 27ea21bc77
4 changed files with 65 additions and 50 deletions

View File

@@ -88,6 +88,9 @@ export default new Vuex.Store({
return false;
}
return false;
},
isSuperUser: state => {
return state.userId === 1;
}
},
mutations: {