UNPKG

graphdb-workbench

Version:
1 lines 772 B
const layoutElement=document.querySelector("onto-layout");window.wbDevMode=!0;const setUserRole=E=>{setAuthUser({...user,authorities:authorityToRolesMap[E]})},setSecurity=(E,e)=>{setSecurityConfig({enabled:E,userLoggedIn:e})},user={username:"user",password:"{bcrypt}$2a$10$JLkoDjlfMF8i9IOsHmsCie3tXCR.FedIlhxq1hqyNF8OmrODS4ca.",authorities:[],appSettings:{DEFAULT_SAMEAS:!0,DEFAULT_INFERENCE:!0,EXECUTE_COUNT:!0,IGNORE_SHARED_QUERIES:!1,DEFAULT_VIS_GRAPH_SCHEMA:!0,COOKIE_CONSENT:{policyAccepted:!0,statistic:!0,thirdParty:!0,updatedAt:1738066723443}},external:!0},authorityToRolesMap={ROLE_ADMIN:["ROLE_USER","ROLE_ADMIN","ROLE_MONITORING","ROLE_REPO_MANAGER","ROLE_CLUSTER"],ROLE_REPO_MANAGER:["ROLE_USER","ROLE_MONITORING","ROLE_REPO_MANAGER"],ROLE_USER:["ROLE_USER"]};