Skip to content

feat: expose user role in getCurrentUser() for custom web apps#331

Merged
najuna-brian merged 1 commit intoOpenDataEnsemble:devfrom
najuna-brian:feature/expose-user-role-to-webview
Feb 17, 2026
Merged

feat: expose user role in getCurrentUser() for custom web apps#331
najuna-brian merged 1 commit intoOpenDataEnsemble:devfrom
najuna-brian:feature/expose-user-role-to-webview

Conversation

@najuna-brian
Copy link
Contributor

Description

Adds the user's role (read-only | read-write | admin) to the getCurrentUser() response so custom web apps can implement role-based access control.

Closes #330

Copy link
Contributor

@Mishael-2584 Mishael-2584 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will be a good addition to have this distinction on cutom app side based on role

@najuna-brian najuna-brian merged commit abcc076 into OpenDataEnsemble:dev Feb 17, 2026
10 checks passed
@najuna-brian najuna-brian deleted the feature/expose-user-role-to-webview branch February 18, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Formulus/Formplayer] Expose user role in getCurrentUser() for custom web apps

3 participants