Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

introduce Roles bridge #653

Merged
merged 4 commits into from
Aug 7, 2023
Merged

introduce Roles bridge #653

merged 4 commits into from
Aug 7, 2023

Conversation

Dnouv
Copy link
Member

@Dnouv Dnouv commented Jul 28, 2023

What? β›΅

  • Added roles bridge with a few read methods
  1. It gets role details based on role id or name.
  2. Get all the custom roles info.

Why? πŸ€”

Links 🌎

WM-149

RocketChat/Rocket.Chat#29968

PS πŸ‘€

@Dnouv Dnouv marked this pull request as ready for review July 31, 2023 18:38
tapiarafael
tapiarafael previously approved these changes Aug 2, 2023
@casalsgh casalsgh merged commit a6eefe2 into RocketChat:alpha Aug 7, 2023
7 checks passed
Comment on lines 143 to +146
AppPermissions.moderation.read,
AppPermissions.moderation.write,
AppPermissions.role.read,
AppPermissions.role.write,
Copy link
Member

Choose a reason for hiding this comment

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

@Dnouv please remove these permissions from the default list. The default list shouldn't really change anymore, since it is used to not break apps that were developed PRIOR to the permission system.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you! Resolved in #655

tiagoevanp added a commit that referenced this pull request Aug 25, 2023
tiagoevanp added a commit that referenced this pull request Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants