Skip to content

Demo: Keycloak RBAC#183

Draft
alukach wants to merge 38 commits into
mainfrom
demo/keycloak-rbac
Draft

Demo: Keycloak RBAC#183
alukach wants to merge 38 commits into
mainfrom
demo/keycloak-rbac

Conversation

@alukach

@alukach alukach commented Apr 3, 2024

Copy link
Copy Markdown
Member

What I am changing

This PR provides an example of implementing RBAC via KeyCloak.

How I did it

...

How you can test it

The intention is for the demo to run in a complete state with the following command:

COMPOSE_FILE=docker-compose.custom.yml COMPOSE_PROFILES=gunicorn,keycloak docker compose up
  1. Access http://localhost:8081/docs and login with alice:alice. You should be able to edit collections/items.
  2. Log Alice out at http://localhost:8080/admin/master/console/#/eoapi/clients/bd7dbeb9-7d8d-4177-87f4-2f8360bcdbdb/sessions (Keycloak credentials: admin:admin)
  3. Access http://localhost:8081/docs and login with bob:bob. You should not be able to edit collections/items.
@alukach alukach changed the title Demo/keycloak rbac Apr 3, 2024
@alukach alukach force-pushed the demo/keycloak-rbac branch from 50ca8e0 to 5d7f04a Compare April 3, 2024 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant