gchq / Palisade

A Tool for Complex and Scalable Data Access Policy Enforcement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PalisadeService isn't throwing NoPolicyException

m09526 opened this issue · comments

The PalisadeService is no longer throwing No Policy Exception when no explicit record rules are present in the system. If no policy rules are present, this represents an error and an exception should be thrown. If an administrator has explicitly configured an empty policy then this should be allowed. Suspect bug in PalisadeService.java or HierarchicalPolicyService.

Also: Write a unit regression test to check for this behaviour.