You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to check if a user has permission to manage a channel, you can use this logic:
- Expand `acting_user`, `channel_member`, and `team_member`
- Use `acting_user.roles.includes('system_admin') || team_member.roles.includes('team_admin') || channel_member.roles.includes('channel_admin')`
cwarnermm
changed the title
Request for Documentation: Apps - Document how to check if a user has permissions to manage a channel
Help Wanted: Apps - Document how to check if a user has permissions to manage a channel
Oct 25, 2023
Mattermost user
michael.kochell
from https://community.mattermost.com has requested the following be documented:See the original post here.
This issue was generated from Mattermost using the Doc Up plugin.
The text was updated successfully, but these errors were encountered: