-
Notifications
You must be signed in to change notification settings - Fork 1
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
User should still be able to log in to the app even if no active plan/mission assignment #69
Comments
|
@cafootitt yeah, I guess I'm not really aware if this is a bug or an unavoidable glitch. I think from @bennsimon or someone else who works on Reveal it'll be good to understand what's on purpose and what's not. |
@rowo We clarified on the standup this morning. This is actually not a bug, but how Reveal works currently. The user has to be assigned to a team, that is assigned to an Active Mission/Plan, that has to have jurisdictions, to be able to log in. The error message shown is generic and not specific to this reason, making it a user-unfriendly failed login message. |
Maybe we need to create a generic plan that is open that everyone is assigned too. Ideally we would just authenticate against he provider and not use the plan assignment as the basis for authentication. You should be able to login but just not have access to do anything. |
@mberg If it's complex though (which creating a generic plan behind the scenes sounds like it could add some unforeseen problems), I don't think this issue is a big deal if at least we can provide a more informative error message for troubleshooting (so at least an admin could tell if someone were entering the wrong password or other user-error when not being able to log in). The cost for a user isn't big (they don't gain much by logging in if they don't have access to anything anyways) and the situation shouldn't happen too often because the use cases are so guided, managed, and contained. This issue is more about helping the program/intervention manager and not about making things less confusing for the end user. |
Agreed I think we can manage it right now. Eg make sure you are assigned to
a mission or something like that. If there is an easy way that we just
left yoh into the app and it says no missions that is ideal. We can get
away with not having that right now if we want to limit new work
…On Wed, Mar 10, 2021 at 5:22 PM Roger W. ***@***.***> wrote:
@mberg <https://github.com/mberg> If it's complex though (which creating
a generic plan behind the scenes sounds like it could add some unforeseen
problems), I don't think this issue is a big deal if at least we can
provide a more informative error message for troubleshooting (so at least
an admin could tell if someone were entering the wrong password or other
user-error when not being able to log in).
The cost for a user isn't big and the situation shouldn't happen too often
because the use cases are so guided, managed, and contained.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAOEQK63JK45LNFOFMYZGDTC7PLBANCNFSM4YZRVWXA>
.
|
Ok, so what I'm hearing is as follows:
|
LOE 1 day
LOE 2 days plus 1 day of testing |
Seems we should just do the 1 day, more informative error message approach. And it doesn't sound like it needs to be all errors — just "no missions so you can't log in" vs. a generic error ("login failed"). Other common login errors would be just nice to haves (i.e. not required): username is invalid or doesn't match, no account found,, password isn't right, no connection, too many attempts, |
@cafootitt What I mean is, if those are the two choices, it would be the option. I agree with @mberg's earlier comment — this could be solved with information for admins and trainers and not necessarily an engineering fix e.g. I don't think it is high priority if we are trying to reduce work we have to do. |
Low priority, we will not be picking this up right now. |
We were trying to troubleshoot why users were suddenly unable to log in to the EUSM mobile app on Friday, March 5th. It turned out it was because the team assignment for that mission was revoked, because the plan/mission end date had been reached (onaio/fhir-web#538).
The error message the user got when trying to log in was unfriendly. It said something like Login failed, please try again later. So it was really hard to pinpoint why this was happening.
Shouldn't the user still be able to log in to the app even if they have no active plan/mission assignments? Perhaps a more user-friendly workflow would be to allow them to log in, but when they try to select a mission from the dropdown, it would be greyed out and if they try to tap on the dropdown, a toaster could appear saying no active mission assignment.
A less user-friendly alternative to the above, but better than the current situation, would be to allow the user to login and they would just see a blank dropdown list for missions.
@rowo Can you weigh in on this issue?
The text was updated successfully, but these errors were encountered: