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

fix: take into account project segments permission in form #5352

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

nunogois
Copy link
Member

@nunogois nunogois commented Nov 16, 2023

https://linear.app/unleash/issue/SR-184/ticket-1106-users-with-createedit-project-segment-dont-see-all-the

#5304 did not take into account permissions further into the Segment form.

This PR fixes the remaining permission checks to take into consideration the project-level permission: UPDATE_PROJECT_SEGMENT.

@nunogois nunogois requested a review from kwasniew November 16, 2023 11:42
Copy link

vercel bot commented Nov 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview Nov 16, 2023 11:42am
1 Ignored Deployment
Name Status Preview Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Nov 16, 2023 11:42am

Copy link
Contributor

@kwasniew kwasniew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can later add a test proving that it actually fixed the problem

@nunogois nunogois merged commit f8a9d7f into main Nov 16, 2023
16 checks passed
@nunogois nunogois deleted the fix-project-segments-permission-form branch November 16, 2023 11:54
kwasniew pushed a commit that referenced this pull request Nov 16, 2023
https://linear.app/unleash/issue/SR-184/ticket-1106-users-with-createedit-project-segment-dont-see-all-the

#5304 did not take into account
permissions further into the Segment form.

This PR fixes the remaining permission checks to take into consideration
the project-level permission: `UPDATE_PROJECT_SEGMENT`.

(cherry picked from commit f8a9d7f)
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