Skip to content

GDB-14878: Implement multiple authentication sources (#3061) - #3085

Merged
yordanalexandrov merged 1 commit into
masterfrom
feature/GDB-14875-multiple-authorization-sources
Jul 24, 2026
Merged

GDB-14878: Implement multiple authentication sources (#3061)#3085
yordanalexandrov merged 1 commit into
masterfrom
feature/GDB-14875-multiple-authorization-sources

Conversation

@yordanalexandrov

Copy link
Copy Markdown
Contributor

What

Refactor the user catalog and create/edit user views to allow the administrator to configure role and permission extension if GDB is configured with an additional authorization database.

Why

This change is needed for this new feature, where a configuration property set in GDB can allow an admin to extend a user's role or persmissions

How

  • removed external propery from User model as it is irrelevant. It is only available for AuthenticatedUser
  • added hasExternalLogin property to User model, which shows if the user has logged in before (has the external login data in local users)
  • Added AuthenticationImplementation enum to standardize authentication methods.
  • added conditional logic to display Create user action in the catalog
  • added conditional logic and a toggle to allow setting role/permissions for external users
  • added tags in the catalog to show if user is extended or if the user has not logged in yet (because admin can now create users)
  • applied DS css vars to checkboxes and radiobuttons
  • refined labels in the external authentication alert
  • restyled the user viewterface elements to display external login status and extended roles.

Testing

Screenshots

Checklist

  • Branch name
  • Target branch
  • Commit messages
  • Squash commits
  • MR name
  • MR Description
  • Tests
  • Browser support verified

@yordanalexandrov yordanalexandrov self-assigned this Jul 23, 2026
@yordanalexandrov
yordanalexandrov force-pushed the feature/GDB-14875-multiple-authorization-sources branch from 744774c to 8f9b026 Compare July 23, 2026 10:55
@yordanalexandrov
yordanalexandrov enabled auto-merge (squash) July 23, 2026 10:57
boyan-tonchev
boyan-tonchev previously approved these changes Jul 23, 2026
## What
Refactor the user catalog and create/edit user views to allow the
administrator to configure role and permission extension if GDB is
configured with an additional authorization database.

## Why
This change is needed for this new feature, where a configuration
property set in GDB can allow an admin to extend a user's role or
persmissions

## How
- removed `external` propery from `User` model as it is irrelevant. It
is only available for `AuthenticatedUser`
- added `hasExternalLogin` property to `User` model, which shows if the
user has logged in before (has the external login data in local users)
- Added `AuthenticationImplementation` enum to standardize
authentication methods.
- added conditional logic to display `Create user` action in the catalog
- added conditional logic and a toggle to allow setting role/permissions
for external users
- added tags in the catalog to show if user is extended or if the user
has not logged in yet (because admin can now create users)
- applied DS css vars to checkboxes and radiobuttons
- refined labels in the external authentication alert
- restyled the user viewterface elements to display external login
status and extended roles.

## Testing

## Screenshots

## Checklist
- [x] Branch name
- [x] Target branch
- [x] Commit messages
- [x] Squash commits
- [x] MR name
- [x] MR Description
- [ ] Tests
- [ ] Browser support verified

---------

Co-authored-by: Yordan Alexandrov <yordan.alexandrov@graphwise.ai>
@yordanalexandrov
yordanalexandrov force-pushed the feature/GDB-14875-multiple-authorization-sources branch from 8f9b026 to aa4479c Compare July 24, 2026 07:53
@yordanalexandrov
yordanalexandrov merged commit 12dd37c into master Jul 24, 2026
1 check passed
yordanalexandrov added a commit that referenced this pull request Jul 24, 2026
## What
Refactor the user catalog and create/edit user views to allow the
administrator to configure role and permission extension if GDB is
configured with an additional authorization database.

## Why
This change is needed for this new feature, where a configuration
property set in GDB can allow an admin to extend a user's role or
persmissions

## How
- removed `external` propery from `User` model as it is irrelevant. It
is only available for `AuthenticatedUser`
- added `hasExternalLogin` property to `User` model, which shows if the
user has logged in before (has the external login data in local users)
- Added `AuthenticationImplementation` enum to standardize
authentication methods.
- added conditional logic to display `Create user` action in the catalog
- added conditional logic and a toggle to allow setting role/permissions
for external users
- added tags in the catalog to show if user is extended or if the user
has not logged in yet (because admin can now create users)
- applied DS css vars to checkboxes and radiobuttons
- refined labels in the external authentication alert
- restyled the user viewterface elements to display external login
status and extended roles.

## Testing

## Screenshots

## Checklist
- [x] Branch name
- [x] Target branch
- [x] Commit messages
- [x] Squash commits
- [x] MR name
- [x] MR Description
- [ ] Tests
- [ ] Browser support verified

Co-authored-by: Yordan Alexandrov <yordan.alexandrov@graphwise.ai>
(cherry picked from commit 12dd37c)
yordanalexandrov added a commit that referenced this pull request Jul 24, 2026
…3095)

## What
Refactor the user catalog and create/edit user views to allow the
administrator to configure role and permission extension if GDB is
configured with an additional authorization database.

## Why
This change is needed for this new feature, where a configuration
property set in GDB can allow an admin to extend a user's role or
persmissions

## How
- removed `external` propery from `User` model as it is irrelevant. It
is only available for `AuthenticatedUser`
- added `hasExternalLogin` property to `User` model, which shows if the
user has logged in before (has the external login data in local users)
- Added `AuthenticationImplementation` enum to standardize
authentication methods.
- added conditional logic to display `Create user` action in the catalog
- added conditional logic and a toggle to allow setting role/permissions
for external users
- added tags in the catalog to show if user is extended or if the user
has not logged in yet (because admin can now create users)
- applied DS css vars to checkboxes and radiobuttons
- refined labels in the external authentication alert
- restyled the user viewterface elements to display external login
status and extended roles.

## Testing

## Screenshots

## Checklist
- [x] Branch name
- [x] Target branch
- [x] Commit messages
- [x] Squash commits
- [x] MR name
- [x] MR Description
- [ ] Tests
- [ ] Browser support verified


(cherry picked from commit 12dd37c)

Co-authored-by: Yordan Alexandrov <yordan.alexandrov@graphwise.ai>
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.

2 participants