The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
revert
Kiran K2f7a7f7dab9b
diff --git a/apps/web/lib/api/rbac/resources.ts b/apps/web/lib/api/rbac/resources.tsindex 202863811a..749a2fba07 100644--- a/apps/web/lib/api/rbac/resources.ts+++ b/apps/web/lib/api/rbac/resources.ts@@ -30,11 +30,6 @@ export const RESOURCES: {key: "workspaces",description: "Read, update, and delete workspaces",},- {- name: "Tokens",- key: "tokens",- description: "Create, read, update, and delete tokens",- },{name: "Domains",key: "domains",diff --git a/apps/web/lib/api/tokens/scopes.ts b/apps/web/lib/api/tokens/scopes.tsindex c3521d866c..ffc5c2c1c0 100644--- a/apps/web/lib/api/tokens/scopes.ts+++ b/apps/web/lib/api/tokens/scopes.ts@@ -12,8 +12,6 @@ export const SCOPES = ["domains.write","workspaces.read","workspaces.write",- "tokens.read",- "tokens.write","conversions.write","apis.all", // All API scopes"apis.read", // All read scopes@@ -85,20 +83,6 @@ export const RESOURCE_SCOPES: {type: "write",resource: "workspaces",},- {- scope: "tokens.read",- roles: ["owner", "member"],- permissions: ["tokens.read"],- type: "read",- resource: "tokens",- },- {- scope: "tokens.write",- roles: ["owner"],- permissions: ["tokens.write", "tokens.read"],- type: "write",- resource: "tokens",- },{scope: "analytics.read",roles: ["owner", "member"],@@ -122,7 +106,6 @@ export const RESOURCE_SCOPES: {"domains.read","workspaces.read","analytics.read",- "tokens.read",],},{@@ -135,8 +118,6 @@ export const RESOURCE_SCOPES: {"tags.write","domains.read","domains.write",- "tokens.read",- "tokens.write","workspaces.read","workspaces.write","analytics.read",