Giter VIP home page Giter VIP logo

Comments (5)

Forceu avatar Forceu commented on July 17, 2024

Is the keycloak user part of the group "admins"? In this case you set up Gokapi to only allow users to access that are part of the group and either the user is not part of it or the value is not transmitted correctly by keycloak

from gokapi.

SimonHenz97 avatar SimonHenz97 commented on July 17, 2024

I have 3 Users:

  • Admin, which is of group admins and users
  • Admin2, which is of group admins
  • User1, which is of group admins and users
  • User2, which is of group users

None of them are authorised by gokapi
The groups are not in the access token, even though I have them enabled

image
image

from gokapi.

Forceu avatar Forceu commented on July 17, 2024

Thank you very much for your feedback! When I tested it, I used the group "admin", however with the predefined mapping, "admin" was always appended. I fixed the documentation to show this.

Please try a custom mapper as described here and let me know if that fixes the issue

from gokapi.

SimonHenz97 avatar SimonHenz97 commented on July 17, 2024

Yes that configuration works now!

I thought there might be a non admin user level page with only the files of the current user but I guess something like this isn't
implemented yet.

from gokapi.

Forceu avatar Forceu commented on July 17, 2024

Great to hear! Yes, that it currently on my todo list, but I can't say yet when it will be implemented.

from gokapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.