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

BC-8519 - add room owner role #5393

Merged
merged 23 commits into from
Dec 13, 2024
Merged

BC-8519 - add room owner role #5393

merged 23 commits into from
Dec 13, 2024

Conversation

hoeppner-dataport
Copy link
Contributor

@hoeppner-dataport hoeppner-dataport commented Dec 10, 2024

Description

Adding new roles for room-owner and room-admins and adapting the permissions and permission-checks accordingly.

Links to Tickets or other pull requests

BC-8519
hpi-schul-cloud/nuxt-client#3473

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

@Metauriel Metauriel enabled auto-merge (squash) December 13, 2024 14:14
@Metauriel Metauriel merged commit 0df7b67 into main Dec 13, 2024
76 checks passed
@Metauriel Metauriel deleted the BC-8519-add-owner-role branch December 13, 2024 14:26
Loki-Afro pushed a commit that referenced this pull request Dec 16, 2024
* add roomadmin and roomowner roles

* remove room_delete permission from roomeditor

* creating room memberships is now an operation seperate from adding users.
** creating a room memberships adds a user as owner
** adding a user fails if no membership exists yet

* fix room membership rule to use room role to check permissions

* ensure that room owners can not be removed from a room

---------

Co-authored-by: Thomas Feldtkeller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants