Page MenuHomeSealhub

public.ts
No OneTemporary

Authored By
Unknown
Size
387 B
Referenced Files
None
Subscribers
None

public.ts

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

File Metadata

Mime Type
application/javascript
Expires
Fri, Nov 27, 16:57 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1221523
Default Alt Text
public.ts (387 B)

Event Timeline