Skip to content

Commit

Permalink
[front] Admins can edit global view (#9619)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier authored Dec 23, 2024
1 parent 2a273f9 commit cf507f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front/lib/resources/space_resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,13 +541,13 @@ export class SpaceResource extends BaseResource<SpaceModel> {
];
}

// Default Workspace space and Conversations space.
// Global Workspace space and Conversations space.
if (this.isGlobal() || this.isConversations()) {
return [
{
workspaceId: this.workspaceId,
roles: [
{ role: "admin", permissions: ["read", "write"] },
{ role: "admin", permissions: ["admin", "read", "write"] },
{ role: "builder", permissions: ["read", "write"] },
],
groups: this.groups.map((group) => ({
Expand Down

0 comments on commit cf507f8

Please sign in to comment.