Restrict token list for sub admins


#1

Hi all,

after searching the internet and the forum to resolve my issue I finally would like to ask that question here: Is it possible to restrict the token list of a sub admin to the tokens he is responsible for based on realms? Currently the sub admin is restricted to a realm and he can only enroll tokens to the users of that specific realm but he can still see all tokens even those of other admins.

Any hint is happily appreciated

Viele Grüße
–Guido


#2

I think this is currently not implemented.
This should go here:

To preset the tokenrealm for the endpoint GET /token/ accordingly:

Would you mind open an issue at gihub?
Besten Dank! :slight_smile: