feat: add supertokens
This commit is contained in:
22
modules/workspace/cerbos/resources.ts
Normal file
22
modules/workspace/cerbos/resources.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import z from "zod";
|
||||
|
||||
/*
|
||||
export const resources = new ResourceRegistry([
|
||||
{
|
||||
kind: "workspace",
|
||||
actions: [],
|
||||
attr: {
|
||||
workspaceId: z.string(),
|
||||
},
|
||||
},
|
||||
{
|
||||
kind: "workspace_user",
|
||||
actions: [],
|
||||
attr: {
|
||||
workspaceId: z.string(),
|
||||
},
|
||||
},
|
||||
] as const);
|
||||
|
||||
export type Resource = typeof resources.$resource;
|
||||
*/
|
||||
Reference in New Issue
Block a user