feat: add cerbos access control
This commit is contained in:
10
api/libraries/auth/resources.ts
Normal file
10
api/libraries/auth/resources.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ResourceRegistry } from "@valkyr/auth";
|
||||
|
||||
export const resources = new ResourceRegistry([
|
||||
{
|
||||
kind: "account",
|
||||
attributes: {},
|
||||
},
|
||||
] as const);
|
||||
|
||||
export type Resource = typeof resources.$resource;
|
||||
Reference in New Issue
Block a user