RoleBasedChannels - IEEE-Team-3/map GitHub Wiki
Some channels should only be visible or accessible by users with specific team roles.
-
#leads-only
: Only visible to team leads -
#review
: Accessible only to reviewers/admins -
#private-chat
: Custom roles like “Core Committee” or “Mentors”
Channel Type | Who Can Access |
---|---|
Public | All team members |
Role-restricted | Defined roles only |
Invite-only | Manually added |
{
name: 'leads-only',
visibleToRoles: ['Owner', 'Lead']
}
- Hidden channels should not appear in the list unless user is authorized.
- Error fallback: “You don’t have permission to view this channel.”