-
Notifications
You must be signed in to change notification settings - Fork 308
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
changing realm of a token that has a user assigned is breaking it #3821
Comments
@sepp67 What do you suggest as expected behaviour? |
I suggest that the button ¨Edit¨ to change the realm is inactive when the token has a user assigned. |
This does not make sense. A token can be in many different realms. A token can be assigned to a user and in addition this token can be in additional realms. So disabling this button would result in a missing functionality. |
We could try to disable/hide the checkbox for the realm of the assigned user to avoid manipulating it. |
privacyidea 3.9.1
ubuntu 20
On the web interface, changing the realm of a token that still has a user asigned, breaks this token.
The token is still shown as active on the tokens view, but it is in fact disabled. No action on the token is then possible.
The only thing that is then possible is to delete it with the token janitor.
You need first to unassign a token. Then you can change the realm.
On the web interface, it shouldn't be possible to change the realm of a token that still has a user assigned.
Kind regards
seabastien
The text was updated successfully, but these errors were encountered: