Page MenuHomeSealhub

public.ts
No OneTemporary

public.ts

import { 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() {
return Policy.allow("everyone is allowed");
}
isItemSensitive = async () => false;
}

File Metadata

Mime Type
text/x-java
Expires
Tue, Jul 8, 08:20 (18 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
800445
Default Alt Text
public.ts (343 B)

Event Timeline