Page MenuHomeSealhub

public.ts
No OneTemporary

public.ts

import { Context, Policy } from "../../main";
import { AllowAll } from "../../datastore/allow-all";
export default class Public extends Policy {
static type_name = "public";
async _getRestrictingQuery() {
return new AllowAll();
}
async checkerFunction(context: Context) {
return Policy.allow(context.app.i18n("policy_public_allow"));
}
isItemSensitive = async () => false;
}

File Metadata

Mime Type
text/x-java
Expires
Mon, Dec 23, 20:58 (21 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
555886
Default Alt Text
public.ts (386 B)

Event Timeline