Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Conversation

AcceisStaff
Copy link

Feature: Role-Based Access Control for Microsoft Authentication

What’s New

  • Added role-based access control to Microsoft authentication.
    • You can now define:
      • roleGeneralAccess: required role to access the application
      • roleAdminAccess: required role to access admin features

UI/UX Improvements

  • Refactored the OAuth configuration page for improved clarity:
    • Separated each authentication method into distinct sections
    • Added new fields for Microsoft auth:
      • usernameClaim
      • roleGeneralAccess
      • roleAdminAccess

Let me know if any changes are needed!

Copy link
Owner

@stonith404 stonith404 left a comment

Choose a reason for hiding this comment

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

Thank you, that's a nice addition. I also like the added dividers!

Please see my comments above and also add the English translations to en-US.ts, because that's the base language.

.filter(
(config) =>
config.key.startsWith("oauth.") &&
![
Copy link
Owner

Choose a reason for hiding this comment

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

Please move the OIDC list into a variable.

].some((provider) => config.key.includes(provider)),
)
.map((configVariable) => (
<Group key={configVariable.key} position="apart">
Copy link
Owner

Choose a reason for hiding this comment

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

Please move the code for the configuration variables that contains the title, description and input into a separate component. Currently this code is there twice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants