Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #49 from EOEPCA/release/v1.0
Browse files Browse the repository at this point in the history
Release/v1.0
  • Loading branch information
TiagoMF20 authored Mar 8, 2022
2 parents 61fcd6f + 6520035 commit 8c9dd54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pdp-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ requests:

image:
imagePullPolicy: Always
image: eoepca/um-pdp-engine:v1.0-RC
image: eoepca/um-pdp-engine:v1.0
persistence:
accessModes: ReadWriteMany
dbStorageSize: 5Gi
Expand Down
2 changes: 2 additions & 0 deletions src/policies/policies_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def validate_complete_policies(resource_id, action, dict_request_values):
decisions[i] = [None, data[i]['config']['delegate']]
except KeyError:
decisions[i] = [False, None]
if len(decisions) == 0:
decisions[0] = [False, None]
return decisions

def validate_all_acces_policies(data, dict_request_values):
Expand Down

0 comments on commit 8c9dd54

Please sign in to comment.