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

allow param values to include any string #2511

Merged
merged 1 commit into from
Feb 20, 2024
Merged

allow param values to include any string #2511

merged 1 commit into from
Feb 20, 2024

Conversation

havetisyan
Copy link
Collaborator

@havetisyan havetisyan commented Feb 16, 2024

Description

when using templates to create policies, the actions and resources can include any string. having template param value defined as compound value blocks supports for such a use case. Now, we allow any string to be set for the param and then make sure the objects we generate (roles/services/policies) are validated before being updated in the db.

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

Signed-off-by: Henry Avetisyan <hga@yahooinc.com>
@havetisyan
Copy link
Collaborator Author

this would address #2182

@havetisyan havetisyan merged commit 5c37b92 into master Feb 20, 2024
2 checks passed
@havetisyan havetisyan deleted the param-values branch February 20, 2024 15:54
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.

2 participants