Skip to content
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

Flows permissions not displayed properly in FlowAuth UI #2110

Closed
jc-harrison opened this issue Mar 12, 2020 · 0 comments · Fixed by #2129
Closed

Flows permissions not displayed properly in FlowAuth UI #2110

jc-harrison opened this issue Mar 12, 2020 · 0 comments · Fixed by #2129
Labels
bug Something isn't working FlowAuth Issues related to FlowAuth UX/UI

Comments

@jc-harrison
Copy link
Member

When selecting permissions in the FlowAuth UI, the 'to_location' option for flows queries does not display the correct options.

E.g. here:
image
(the selected path is get_result->flows->from_location->daily_location->aggregation_unit->admin2->to_location), where the options for 'to_location' are shown as 'modal_location' or the aggregation units. Similarly, if 'modal_location' is selected as the 'from_location' then the 'to_location' options are 'daily_location' or aggregation units.

It appears that the scopes in the resulting token are correct, it's just the UI that doesn't display the full options.

@jc-harrison jc-harrison added bug Something isn't working FlowAuth Issues related to FlowAuth UX/UI labels Mar 12, 2020
greenape added a commit that referenced this issue Mar 13, 2020
By using a dropwhile instead of filtering the full array
@mergify mergify bot closed this as completed in #2129 Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FlowAuth Issues related to FlowAuth UX/UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant