diff --git a/src/components/Modals/ProjectSelect/index.jsx b/src/components/Modals/ProjectSelect/index.jsx index ed5031f4632..2d3cb3af068 100644 --- a/src/components/Modals/ProjectSelect/index.jsx +++ b/src/components/Modals/ProjectSelect/index.jsx @@ -120,7 +120,7 @@ export default class ProjectSelectModal extends React.Component { } if ( - globals.app.hasPermission({ module: 'workspaces', action: 'edit' }) || + globals.app.hasPermission({ module: 'workspaces', action: 'manage' }) || globals.app.hasPermission({ module: 'workspaces', action: 'view', diff --git a/src/pages/workspaces/containers/layout.jsx b/src/pages/workspaces/containers/layout.jsx index cc9ef2a74a3..ce98d76a095 100644 --- a/src/pages/workspaces/containers/layout.jsx +++ b/src/pages/workspaces/containers/layout.jsx @@ -67,6 +67,7 @@ class WorkspaceLayout extends Component { } if ( + !globals.app.hasPermission({ module: 'workspaces', action: 'manage' }) && !globals.app.hasPermission({ module: 'workspaces', action: 'view',