forked from unimatrix/web
Build the new public staff directory and audited Great Migration appointments
This commit is contained in:
parent
04532cb7ec
commit
fc9549ee71
1 changed files with 181 additions and 29 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import {validStaffRole} from './organisation-model.mjs';
|
||||
const nativeEditors=new Set(['web.luckperms.edit','cp.luckperms.edit','luckperms.editor','luckperms.applyedits','luckperms.trusteditor']);
|
||||
const nativeEditors=new Set(['web.forum.admin','web.luckperms.edit','cp.luckperms.edit','luckperms.editor','luckperms.applyedits','luckperms.trusteditor']);
|
||||
const officialBank=new Set(['web.bank.staff.manage','cp.bank.staff.manage','web.bank.staff.deposit','cp.bank.staff.deposit']);
|
||||
// Pure preview: never changes legacy ranks or grants native product permissions.
|
||||
export function effectiveOrganisationAccess({assignments,policies,registry,principalKind=null,now=Date.now()}){
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff