Repository navigation
feat: add support for the ABAC VIEW action - #181
Merged
Merged
Conversation
andrii-codefresh
requested review from
a team and
yaroslav-codefresh
as code owners
October 16, 2026 00:06
masontikhonov
approved these changes
Oct 16, 2026
Collaborator
Author
|
/test |
1 similar comment
Collaborator
Author
|
/test |
mikhail-klimko
approved these changes
Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
VIEWto the allowed actions of thecodefresh_abac_rulesresourcegitopsApplicationsrule withVIEW+SYNCand aRUNTIMEattributeVIEWrule example, a "View permissions" section explaining the defaultVIEWrule and the recommended order of changes, and an "Import" section with how to find a rule ID; updateexamples/abac_rulesWhy
GitOps ABAC supports
VIEWpermissions forgitopsApplications, which control which applications users can see in the GitOps Apps, Products and Environments dashboards. The provider rejectedVIEWwithInvalid action value: VIEW, so these rules could not be managed with Terraform.Notes
VIEWis a regular action of an ABAC rule, so the existing GraphQL mutations are used as is.VIEWon allgitopsApplicationsto theusersteam. The provider does not create it; to restrict visibility it should be imported (importblock /terraform import) and narrowed or removed.make testacc TEST=./codefresh TESTARGS='-run TestAccCodefreshAbacRulesConfig'passesVIEWrule, reject an unknown action, import the defaultVIEWrule with no diffChecklist
/testcomment will be ignored by the CI trigger unless it is made by a repo admin or collaborator.