RocketChat / RocketChat/Rocket.Chat

Adding "role" to list of internal CAS attributes

Open
#7,312 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: authentication triaged type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Rocket.Chat Version: 0.56.0
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.8.3

It's a bit of a hack, but we'd like to be able to set the role of the user based on the attributes in the CAS response if possible (as we can do for the rooms, usernames etc).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CAS response attribute handling used for rooms and usernames. Clarify the supported mapping from a CAS role attribute to Rocket.Chat roles and how existing behavior should remain unchanged. Done means the intended role mapping works consistently and is covered by the relevant project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.