Le oops
This commit is contained in:
parent
0b2dd8fb6c
commit
03d6a47cb7
@ -5,7 +5,7 @@ export async function onRequestGet(context: RequestContext) {
|
|||||||
[k: string]: { permissions: number[]; table: string };
|
[k: string]: { permissions: number[]; table: string };
|
||||||
} = {
|
} = {
|
||||||
appeal: {
|
appeal: {
|
||||||
permissions: [1 << 0, 1 << 1],
|
permissions: [1 << 0, 1 << 11],
|
||||||
table: "appeals",
|
table: "appeals",
|
||||||
},
|
},
|
||||||
gma: {
|
gma: {
|
||||||
|
@ -12,7 +12,7 @@ export async function onRequestGet(context: RequestContext): Promise<any> {
|
|||||||
report: "reports",
|
report: "reports",
|
||||||
};
|
};
|
||||||
const permissions: { [k: string]: number[] } = {
|
const permissions: { [k: string]: number[] } = {
|
||||||
appeal: [1 << 0, 1 << 1],
|
appeal: [1 << 0, 1 << 11],
|
||||||
gma: [1 << 5],
|
gma: [1 << 5],
|
||||||
inactivity: [1 << 4, 1 << 6, 1 << 7, 1 << 11, 1 << 12],
|
inactivity: [1 << 4, 1 << 6, 1 << 7, 1 << 11, 1 << 12],
|
||||||
report: [1 << 5],
|
report: [1 << 5],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user