forked from andyburke/autonomous.contact
fix: clean up fixes after APP overhaul
This commit is contained in:
parent
52f46207ec
commit
c34069066d
11 changed files with 76 additions and 88 deletions
|
|
@ -10,7 +10,6 @@ import * as CANNED_RESPONSES from '../../../utils/canned_responses.ts';
|
|||
import * as bcrypt from '@da/bcrypt';
|
||||
import { INVITE_CODE, INVITE_CODES } from '../../../models/invites.ts';
|
||||
|
||||
|
||||
// TODO: figure out a better solution for doling out permissions
|
||||
const DEFAULT_USER_PERMISSIONS: string[] = [
|
||||
'files.write.own',
|
||||
|
|
@ -39,10 +38,16 @@ const DEFAULT_USER_PERMISSIONS: string[] = [
|
|||
|
||||
// TODO: figure out a better solution for doling out permissions
|
||||
const DEFAULT_SUPERUSER_PERMISSIONS: string[] = [
|
||||
...DEFAULT_USER_PERMISSIONS,
|
||||
'topics.create',
|
||||
'topics.delete',
|
||||
'topics.write',
|
||||
...DEFAULT_USER_PERMISSIONS,
|
||||
'files.write.all',
|
||||
'invites.read.all',
|
||||
'signups.read.all',
|
||||
'topics.create',
|
||||
'topics.delete',
|
||||
'topics.write',
|
||||
'users.write',
|
||||
'watches.read.all',
|
||||
'watches.write.all'
|
||||
];
|
||||
|
||||
export const PRECHECKS: PRECHECK_TABLE = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue