You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a normal user (logged in via SAML) deletes a device profile, they get an error page, even though the deletion is successful.
To Reproduce
Steps to reproduce the behavior:
Run docker image 1.3.2 (subspacecommunity/subspace:1.3.2 which is from commit a996119) and configure for SAML
Login via SAML as normal user and add device profiles
Attempt to delete one of the device profiles (works but an error page is shown)
Logout and then login as admin user
Attempt to delete one of the device profiles for the normal user above (works with no errors)
Note
Expected behavior
Profile deletion should work with no errors for both a normal user and an admin editing that user's account or device profiles.
Screenshots
Desktop (please complete the following information):
NA - error is not client platform specific.
Smartphone (please complete the following information):
NA - error is not client platform specific.
Additional context
To diagnose this issue, I ran subspace in debug mode inside the docker container, which helped locate the issue, which is in the "profileDeleteHandler" method in cmd/subspace/handlers.go . Will submit pull request with a fix.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a normal user (logged in via SAML) deletes a device profile, they get an error page, even though the deletion is successful.
To Reproduce
Steps to reproduce the behavior:
Note
Expected behavior
Profile deletion should work with no errors for both a normal user and an admin editing that user's account or device profiles.
Screenshots
Desktop (please complete the following information):
NA - error is not client platform specific.
Smartphone (please complete the following information):
NA - error is not client platform specific.
Additional context
To diagnose this issue, I ran subspace in debug mode inside the docker container, which helped locate the issue, which is in the "profileDeleteHandler" method in cmd/subspace/handlers.go . Will submit pull request with a fix.
The text was updated successfully, but these errors were encountered: