Skip to content

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

Closed
@Thiagosnts

Description

@Thiagosnts

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_

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions