Allow data team to access user history
This commit is contained in:
@ -3,6 +3,9 @@ import { insertLogs } from "../../../gcloud.js";
|
||||
import { jsonError } from "../../../common.js";
|
||||
|
||||
export async function onRequestPost(context: RequestContext) {
|
||||
if (!(context.data.current_user.permissions & (1 << 5)))
|
||||
return jsonError("Forbidden", 403);
|
||||
|
||||
const { ticket_link } = context.data.body;
|
||||
|
||||
if (
|
||||
|
Reference in New Issue
Block a user