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

Unable to update group permissions in FlowAuth #5091

Closed
jc-harrison opened this issue Apr 21, 2022 · 1 comment · Fixed by #5163
Closed

Unable to update group permissions in FlowAuth #5091

jc-harrison opened this issue Apr 21, 2022 · 1 comment · Fixed by #5163
Labels
bug Something isn't working FlowAuth Issues related to FlowAuth

Comments

@jc-harrison
Copy link
Member

After uploading a new API spec to an existing server in FlowAuth, I am trying to edit an existing group to grant permissions for the newly-added scopes. I can tick the boxes next to the new scopes, but on attempting to "save" I get signed out and the changes do not take effect.

In the console log I can see that PATCH https://auth.flowminder.org/admin/groups/4/servers is returning a 502 error, and there's a message "SyntaxError: Unexpected token < in JSON at position 1". I haven't yet been able to check the server-side logs to investigate further.

@jc-harrison jc-harrison added bug Something isn't working FlowAuth Issues related to FlowAuth labels Apr 21, 2022
@greenape
Copy link
Member

greenape commented May 9, 2022

The cause of this is that we're not awaiting something we should be in the JS, the trigger for it is that the permissions update is taking too long behind the scenes.

@Thingus Thingus mentioned this issue May 20, 2022
8 tasks
@mergify mergify bot closed this as completed in #5163 Dec 22, 2022
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants