RoleBasedChannels - IEEE-Team-3/map GitHub Wiki

Overview

Some channels should only be visible or accessible by users with specific team roles.

Examples

  • #leads-only: Only visible to team leads
  • #review: Accessible only to reviewers/admins
  • #private-chat: Custom roles like “Core Committee” or “Mentors”

Permissions Matrix

Channel Type Who Can Access
Public All team members
Role-restricted Defined roles only
Invite-only Manually added

Role Tag Logic

{
  name: 'leads-only',
  visibleToRoles: ['Owner', 'Lead']
}

UI Notes

  • Hidden channels should not appear in the list unless user is authorized.
  • Error fallback: “You don’t have permission to view this channel.”
⚠️ **GitHub.com Fallback** ⚠️