MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / loadRoles

Function loadRoles

deployments/desktop/static/app.js:548–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546}
547
548async function loadRoles() {
549 const data = await api("/api/roles");
550 state.roles = data.roles || [];
551 renderRoles(state.roles);
552}
553
554async function loadSourceOptions() {
555 if (state.sourceOptionsLoaded) return;

Callers 1

bootFunction · 0.85

Calls 2

renderRolesFunction · 0.85
apiFunction · 0.70

Tested by

no test coverage detected