mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
feat: add workspaceTaskVisibility setting to OrganizationCloudSettings
This commit is contained in:
parent
941786a2e9
commit
372e3503fb
1 changed files with 2 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ export const organizationCloudSettingsSchema = z.object({
|
|||
enableTaskSharing: z.boolean().optional(),
|
||||
taskShareExpirationDays: z.number().int().positive().optional(),
|
||||
allowMembersViewAllTasks: z.boolean().optional(),
|
||||
workspaceTaskVisibility: z.enum(["all", "creator-and-admins"]).optional(),
|
||||
})
|
||||
|
||||
export type OrganizationCloudSettings = z.infer<typeof organizationCloudSettingsSchema>
|
||||
|
|
@ -202,6 +203,7 @@ export const ORGANIZATION_DEFAULT: OrganizationSettings = {
|
|||
enableTaskSharing: true,
|
||||
taskShareExpirationDays: 30,
|
||||
allowMembersViewAllTasks: true,
|
||||
workspaceTaskVisibility: "all",
|
||||
},
|
||||
defaultSettings: {},
|
||||
allowList: ORGANIZATION_ALLOW_ALL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue