Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PB-1841] feat: added change users role in workspace team #294

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

apsantiso
Copy link
Collaborator

@apsantiso apsantiso commented Apr 9, 2024

This PR enables changing roles of users inside a workspace (teams).

There are only two possible roles to be assigned in the workspace (excluding owner, which is non assignable):

  • Manager of a team: it is able to manage the team users, remove them for the team, etc.
  • Member: has access to the team but it is not able to manage users or settings of it.

If a manager is removed from his role, them the owner of the workspace becomes the manager of that team. Teams should always have manager.

@apsantiso apsantiso changed the title feat: added change users role in workspace team [PB-1841] feat: added change users role in workspace team Apr 9, 2024
src/modules/workspaces/workspaces.controller.ts Outdated Show resolved Hide resolved
src/modules/workspaces/workspaces.usecase.spec.ts Outdated Show resolved Hide resolved
src/modules/workspaces/workspaces.usecase.spec.ts Outdated Show resolved Hide resolved
src/modules/workspaces/workspaces.usecase.spec.ts Outdated Show resolved Hide resolved
src/modules/workspaces/workspaces.usecase.spec.ts Outdated Show resolved Hide resolved
@sg-gs
Copy link
Member

sg-gs commented Apr 9, 2024

Please, correct the typos, add a description to the PR, a label and an assignee (yourself) @apsantiso. Good job 👍🏽

@apsantiso apsantiso changed the title [PB-1841] feat: added change users role in workspace team [PB-1841] feat: added change users role in workspace team (workspaces) Apr 11, 2024
@apsantiso apsantiso changed the title [PB-1841] feat: added change users role in workspace team (workspaces) [PB-1841] feat: added change users role in workspace team Apr 11, 2024
Copy link

@apsantiso apsantiso self-assigned this Apr 11, 2024
@apsantiso apsantiso added the enhancement New feature or request label Apr 11, 2024
@apsantiso apsantiso merged commit 01cb548 into feat/workspaces-main Apr 11, 2024
6 checks passed
@apsantiso apsantiso deleted the feat/change-users-role-in-workspace branch May 9, 2024 16:08
apsantiso added a commit that referenced this pull request Jul 11, 2024
…pace

[PB-1841] feat: added change users role in workspace team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready-for-preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants