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

chore: push rbac actions to policy package #13274

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented May 14, 2024

Just moved rbac.Action -> policy.Action. This is for the stacked PR to not have circular dependencies when doing autogen. Without this, the autogen can produce broken golang code, which prevents the autogen from compiling.

So just avoiding circular dependencies. Doing this in it's own PR to reduce LoC diffs in the primary PR, since this has 0 functional changes.

Copy link
Member Author

Emyrk commented May 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Emyrk and the rest of your teammates on Graphite Graphite

@Emyrk Emyrk force-pushed the stevenmasley/rego_to_policy branch 2 times, most recently from 9f50b1b to 46dbb72 Compare May 14, 2024 20:08
Moving to support more verbs. It is easier to keep the verbs in
their own package for autogen reasons. Autogen will generate content
in the rbac package. If the verbs are in the rbac package, then
the autogen can fail if the autogen produces no-valid go code.

It's a circular dependency that this commit avoids
@Emyrk Emyrk force-pushed the stevenmasley/rego_to_policy branch from 46dbb72 to b2f9524 Compare May 14, 2024 22:00
@Emyrk Emyrk marked this pull request as ready for review May 15, 2024 00:04
Copy link
Member Author

Emyrk commented May 15, 2024

Merge activity

  • May 15, 10:46 AM EDT: @Emyrk started a stack merge that includes this pull request via Graphite.
  • May 15, 10:46 AM EDT: @Emyrk merged this pull request with Graphite.

@Emyrk Emyrk merged commit cb6b5e8 into main May 15, 2024
35 checks passed
@Emyrk Emyrk deleted the stevenmasley/rego_to_policy branch May 15, 2024 14:46
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.

None yet

2 participants