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

Fallback to branch protections when rulesets unavailable #90

Open
ajhenry opened this issue Apr 18, 2024 · 1 comment
Open

Fallback to branch protections when rulesets unavailable #90

ajhenry opened this issue Apr 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ajhenry
Copy link
Contributor

ajhenry commented Apr 18, 2024

Describe the bug

There's currently a known issue where EMU integrations are not allowed to create repository rulesets. We need to fallback to using branch protections until this issue is resolved.

To Reproduce

When making rulesets in an EMU org, you will be met with the following error:

{"data":{"createRepositoryRuleset":null},"errors":[{"type":"FORBIDDEN","path":["createRepositoryRuleset"],"extensions":{"saml_failure":false},"locations":[{"line":1,"column":11}],"message":"Unauthorized: As an Enterprise Managed User, you cannot access this content"}]}

Expected behavior

We need to use the old behavior of branch protections when this error occurs

Screenshots

No response

Additional context

No response

@ajhenry ajhenry added the bug Something isn't working label Apr 18, 2024
@ajhenry ajhenry self-assigned this Apr 18, 2024
@sutterj
Copy link
Contributor

sutterj commented Jun 18, 2024

@ajhenry Is this ready to be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants