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

Feature/error on details refresh undefined permissions #1327

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

danoswaltCL
Copy link
Collaborator

This addresses another small bug unveiled after fixing segments page refresh in #1252, which was caused by a race condition between fetching permissions and fetching segments where if segments fetch finished first, permissions is null.

The permissions object was not being utilized properly though, that thing should be strictly read-only. The conditions currently used to disable those buttons are being determined by segment type / status, not user permissions.

@danoswaltCL danoswaltCL requested a review from zackcl February 27, 2024 23:22
@danoswaltCL
Copy link
Collaborator Author

@zackcl ok NOW it can be reviewed/retested

@zackcl zackcl merged commit 80ac904 into dev Feb 29, 2024
8 checks passed
@zackcl zackcl deleted the feature/error-on-details-refresh-undefined-permissions branch February 29, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants