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

SUP-45082: prevent from admin without permissions to delete room #12988

Open
wants to merge 1 commit into
base: Ursa-21.4.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deployment/permissions/service.room.room.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissionItem1.permissions = BASE_USER_SESSION_PERMISSION, -13>PARTNER_-13_GROU
permissionItem2.service = room_room
permissionItem2.action = delete
permissionItem2.partnerId = 0
permissionItem2.permissions = BASE_USER_SESSION_PERMISSION, -13>PARTNER_-13_GROUP_*_PERMISSION
permissionItem2.permissions = BASE_USER_SESSION_PERMISSION, CONTENT_MANAGE_DELETE, -13>PARTNER_-13_GROUP_*_PERMISSION
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this only add permissions, it doesnt makes sense


permissionItem3.service = room_room
permissionItem3.action = get
Expand Down