You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
2 years ago
|
import { Collection, FieldTypes } from "sealious";
|
||
|
import { Roles } from "../policy-types/roles";
|
||
|
|
||
|
/* For testing the Roles policy */
|
||
|
export default class Secrets extends Collection {
|
||
|
fields = {
|
||
|
content: new FieldTypes.Text(),
|
||
|
};
|
||
|
defaultPolicy = new Roles(["admin"]);
|
||
|
}
|