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

[Bug]: add Ruletype(all of these or any of these ) parameter in codefresh_permission #154

Open
Thiagosnts opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Thiagosnts
Copy link

Thiagosnts commented Sep 17, 2024

What happened?

codefresh-io/codefresh v0.11.0

There is no parameter to define "with" with the value "all of these or any of these", which would be used to configure the combo box in the image below
bug1

something like this example:

  team = codefresh_team.developers.id
  resource = "pipeline"
  action = "run"
  tags = [
      "demo",
      "test"
    ]
  rule_type = "any"
}


having the following options:
- any(any of these)
- all(all of these)

Api already uses a similar field com a chamada à https://g.codefresh.io/api/abac/teamRules

[
    {
        "resource": "pipeline",
        "relatedResource": "project",
        "ruleType": "any",
        "action": "approve",
        "attributes": [
            "*"
        ],
        "id": "12345",
        "role": "123456"
    }
]

### Version

### codefresh-io/codefresh v0.11.0


### Relevant Terraform Configuration

_No response_
@Thiagosnts Thiagosnts added the bug Something isn't working label Sep 17, 2024
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