-
Notifications
You must be signed in to change notification settings - Fork 713
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
Setup Wizard > LOD > Create a new user - No indication that the user doesn't have permission to join the facility #10313
Comments
@pcenov @radinamatic I would like to work on this issue. But first I want to ask whether you have setup these 2 devices using virtualbox and if there is another way to setup two devices. Thanks. |
@Wck-iipi thanks for your interest in working on this Getting setup to test this should be easiest if you use the latest PEX from our latest alpha release - you can run this with Then you can simultaneously run the kolibri dev server - again I suggest using a fresh One bit of guidance I have is that I suggest you look at the For this to be resolved, we'll need to see:
As a stretch goal, I'd say we should try to:
I know that is a lot :-D so please let me know if you're interested in taking this on, all things considered. Happy to answer any additional questions as well. |
@nucleogenesis Thank you so much for such a detailed response. I can now finally replicate this error with PEX file. I am interested in taking this on and would love to work on this issue. |
@Wck-iipi thanks! Tag me if you run into any issues! We do hope for this to be resolved within the next few weeks so any help will be greatly appreciated. |
@Wck-iipi -- do you still plan to work on this? If not I will take this on myself. |
@nucleogenesis Sorry for inactivity. My semester exams just finished. Yes I am still interested and will issue pull request within next 2 days. |
@nucleogenesis I have added the pull request. I have tried to change as little things as I can in this PR so that it is easy to check. I copied the intial logic from
|
Observed behavior
If on my facility the option 'Allow learners to create accounts' is disabled, when a user attempts to join the facility through the 'LOD > Create a new user account for an existing facility' workflow then the user is not being notified that they don't have permission to join the facility.
Expected behavior
The user should not be allowed to select that facility in the first place. As specified in Figma, in that case the facility should be grayed out and stating: You don't have permission to join this facility
Steps to reproduce the issue
develop
build.Video
2023-03-24_16-07-53.mp4
Console error
{"status":403,"data":"[{\"id\":\"PERMISSION_DENIED\",\"metadata\":{\"view\":\"Public Sign Up List\"}}]"}
Usage Details
Windows 10, Ubuntu 22 - Chrome, Firefox
The text was updated successfully, but these errors were encountered: