-
Notifications
You must be signed in to change notification settings - Fork 18
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
[ 19º ] - Release/v2.1.0 backend agree: Enabled policy selection and handling of more than one contract in the backend #205
[ 19º ] - Release/v2.1.0 backend agree: Enabled policy selection and handling of more than one contract in the backend #205
Conversation
…x-ng/tx-digital-product-pass into catenax-ng-bugfix/cmp-983/dtr-lookup
Bugfix/trivy check
…oduct-pass into feature/cmp-951/policy-selection
…ct-pass into feature/cmp-951/policy-selection
Feature/cmp 951/policy selection: Enable the policy selection option to the "/agree" api
.github/workflows/trivy.yml
Outdated
|
||
- name: Upload Trivy scan results to GitHub Security tab | ||
if: always() | ||
uses: github/codeql-action/upload-sarif@v2 | ||
uses: github/codeql-action/upload-sarif@v3 |
Check notice
Code scanning / KICS
Unpinned Actions Full Length Commit SHA Note
.github/workflows/trivy.yml
Outdated
|
||
- name: Upload Trivy scan results to GitHub Security tab | ||
if: always() | ||
uses: github/codeql-action/upload-sarif@v2 | ||
uses: github/codeql-action/upload-sarif@v3 |
Check notice
Code scanning / KICS
Unpinned Actions Full Length Commit SHA Note
.github/workflows/trivy.yml
Outdated
|
||
- name: Upload Trivy scan results to GitHub Security tab | ||
uses: github/codeql-action/upload-sarif@v2 | ||
uses: github/codeql-action/upload-sarif@v3 |
Check notice
Code scanning / KICS
Unpinned Actions Full Length Commit SHA Note
Dockerfile
Outdated
@@ -62,15 +63,15 @@ | |||
HEALTHCHECK NONE | |||
|
|||
# add permissions for a user | |||
RUN chown -R 10000:3000 /app && chmod -R 775 /app/ | |||
RUN chown 10000:3000 /entrypoint.sh && chmod -R 775 /entrypoint.sh | |||
RUN chown -R 1000:3000 /app && chmod -R 775 /app/ |
Check notice
Code scanning / KICS
Multiple RUN, ADD, COPY, Instructions Listed Note
Why we create this PR?
Because of data compliance the user needs to be able to "sign" or "agree" the contract and be able to choose which policy he wants to accept.
In case there are more than one policy the application uses to take the first one. However that can cause problems when the Policies contain agreements that can not be fellfield by the user.
What we want to achieve with this PR?
We want to add a "policy selection" feature to the application so that the user can say which policy he wants to choose.
We want to allow the backend to handle more than one policy and more contracts for data soverenighty.
Allow the frontend to handle the new changes without loosing its functionality.
What is new?
Added
Update
Issues Fixed