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

feat(template): policyhub template update #107

Merged

Conversation

AnuragNagpure
Copy link
Contributor

Description

Update the policy hub used policy template for the endpoint.
POST /api/policy-hub/policy-content endpoint:

Why

Additionally to the generic structure - the support of "OR" constraintOperand for usage constraints are not supported for now.
Since this is in general allowed but not used by catena-x; i suggest instead of deleting the code to comment out the option to set an "OR" connection.
Note: access policies with an "OR" connection are still allowed (as shared above).

Issue

#43

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas
  • I have added copyright and license headers, footers (for .md files) or files (for images)

@AnuragNagpure AnuragNagpure force-pushed the feature/43-policy-template-update branch from 23aee58 to 05fdbe9 Compare April 12, 2024 14:10
@Phil91 Phil91 merged commit 6a4cacd into eclipse-tractusx:dev Apr 16, 2024
9 checks passed
@Phil91 Phil91 deleted the feature/43-policy-template-update branch April 16, 2024 05: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.

2 participants