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

[support-infra] Fix user permission check #12669

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

michelengelen
Copy link
Member

@michelengelen michelengelen commented Apr 4, 2024

#11784 (comment)

the default username that gets checked is the one that triggered the state change (closed the issue), but for this we need to check if the user that opened the issue has the required permissions.

It also fixes the result check to use booleans

@michelengelen michelengelen added the scope: infra Org infrastructure work going on behind the scenes label Apr 4, 2024
@michelengelen michelengelen self-assigned this Apr 4, 2024
@mui-bot
Copy link

mui-bot commented Apr 4, 2024

Deploy preview: https://deploy-preview-12669--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 790b7f7

@michelengelen michelengelen enabled auto-merge (squash) April 4, 2024 07:21
@michelengelen michelengelen merged commit bff8b84 into mui:master Apr 4, 2024
15 checks passed
@michelengelen michelengelen deleted the automation/author-check branch April 4, 2024 07:33
@oliviertassinari oliviertassinari changed the title [support-infra] fixes user permission check [support-infra] Fix user permission check May 1, 2024
@oliviertassinari
Copy link
Member

Great, thanks for the fix 🙌

@oliviertassinari oliviertassinari added the bug 🐛 Something doesn't work label May 1, 2024
joakimtveter pushed a commit to joakimtveter/mui-x that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: infra Org infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants