-
Notifications
You must be signed in to change notification settings - Fork 6
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
NotFound: username: stage user not found #10
Comments
Correction: I ALWAYS get a NotFound error. To add extra fun: the stage user 'username' is created although I already have a normal user by that name. FreeIPA doesn't prevent name clashes. |
This bug is really two bugs. First of all the portal also needs "System: Read Stage Users". Secondly stage user and normal user don't conflict. The portal should check the normal users to make sure that a stage user doesn't conflict with an ordinary user. |
The NotFound exception is gone. The portal also needs 'System: Read Stage User' permission. The requirements is documented and added by create-portal-user. |
Check if the username conflicts with an existing user. The check is not perfect. A user might be created before the stage user is activated. The code also suffers from a race condition. It's as good as it can get without a better API, though. closes #10 see https://fedorahosted.org/freeipa/ticket/5186
Check if the username conflicts with an existing user. The check is not perfect. A user might be created before the stage user is activated. The code also suffers from a race condition. It's as good as it can get without a better API, though. The commit also improves the error reporting code to report multiple errors at once. A user doesn't have to 'probe' for errors until she succeeds. It improves the user experience. closes #10 see https://fedorahosted.org/freeipa/ticket/5186
Check if the username conflicts with an existing user. The check is not perfect. A user might be created before the stage user is activated. The code also suffers from a race condition. It's as good as it can get without a better API, though. The commit also improves the error reporting code to report multiple errors at once. A user doesn't have to 'probe' for errors until she succeeds. It improves the user experience. closes #10 see https://fedorahosted.org/freeipa/ticket/5186
Check if the username conflicts with an existing user. The check is not perfect. A user might be created before the stage user is activated. The code also suffers from a race condition. It's as good as it can get without a better API, though. The commit also improves the error reporting code to report multiple errors at once. A user doesn't have to 'probe' for errors until she succeeds. It improves the user experience. closes freeipa#10 see https://fedorahosted.org/freeipa/ticket/5186
I get a "stage user not found" error when the user already exists as an ordinary user. Perhaps the user model should check if the user already exists and print an error message.
The text was updated successfully, but these errors were encountered: