FlowFuse / FlowFuse/nr-launcher

Include .role in session.user object

Open
#200 2 comments 0 reactions 0 assignees View on GitHub
needs-triage type:feature
Dominant language
JavaScript
Stars
8
Forks
9
Avg merge
2d 14h
Merged PRs (30d)
19

Description

### Description

It would be great if we could also include the underlying FF User's "role" within the returned `session.user` object when authenticating with FF.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the authentication code that constructs the returned session.user object and trace how the underlying FF User is loaded. Done means session.user includes the FF User's role when authenticating with FF, with an appropriate test covering the returned object.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.