mui / mui-public

The public mono-repository of MUI (as an organization), see mui/mui-private for the opposite.
80 stars 16 forks source link

[support-infra] Fix permission check on closing issue message #175

Closed michelengelen closed 2 months ago

michelengelen commented 4 months ago

Current behavior

all users get the message for a closed issue to fill out the CSAT survey possible solution is the same procedure as in https://github.com/mui/mui-x/pull/13957 API to call for permission level: https://octokit.github.io/rest.js/v20#repos-get-collaborator-permission-level

related issue #156

Expected behavior

only users from outside of the org should be getting this message

Context

reduce information overload

michelengelen commented 2 months ago

Done with #178

github-actions[bot] commented 2 months ago

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.