Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement subgroup support #476

Merged
merged 7 commits into from
Oct 15, 2024
Merged

Implement subgroup support #476

merged 7 commits into from
Oct 15, 2024

Commits on Oct 8, 2024

  1. chore: minor formatting fixes

    smlx committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    5dbd6a9 View commit details
    Browse the repository at this point in the history
  2. chore: add invalid zero value to user role enum

    Slightly improve safety by making the zero value invalid.
    smlx committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    d2331b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. feat: implement subgroup support in keycloak client

    Add new methods to the Keycloak client to:
    
    * look up user group permissions with support for subgroups.
    * look up ancestor groups of a given group.
    
    In addition, refactor the keycloak client to support paging through
    results from the Keycloak API.
    
    In support of the headline change, also add a "cache map" type which
    implements an in-memory cache map with individual value lifetimes.
    smlx committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    a35ce93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b6b802 View commit details
    Browse the repository at this point in the history
  3. feat: add functional support for subgroups

    Refactor permission engine to use the new keycloak client functionality
    which adds support for subgroups, and refactor session logic to use the
    new permission engine.
    smlx committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8e0ffd0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4be767d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e7f618 View commit details
    Browse the repository at this point in the history