Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update constants.ts

Kiran Kc9d7b1032feb
diff --git a/apps/web/lib/folder/constants.ts b/apps/web/lib/folder/constants.ts
index adf275a832..d76e249306 100644
--- a/apps/web/lib/folder/constants.ts
+++ b/apps/web/lib/folder/constants.ts
@@ -13,13 +13,13 @@ export const FOLDER_USER_ROLE: Record<FolderUserRole, string> = {
} as const;
export const FOLDER_PERMISSIONS = [
- "folders.read",
- "folders.write",
- "folders.links.write", // Add links to a folder
+ "folders.read", // Read access to the folder
+ "folders.write", // Full access to the folder
+ "folders.links.write", // Manage links in the folder
"folders.users.write", // Manage folder users
] as const;
-export const FOLDER_WORKSPACE_ACCESS_TO_USER_ROLE: Record<
+export const FOLDER_WORKSPACE_ACCESS_TO_FOLDER_USER_ROLE: Record<
FolderAccessLevel,
FolderUserRole
> = {