Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better validate ACL configuration (#1187)
The ACL configuration may not be a boolean or just any string. It must be a valid XACML. While we can't easily parse the XACML and check its correctness, we can at least check if the ACL seems to be XML. The background for this is that with Opencast 14, `acl = "false"` was a valid configuration. This silently changed with Opencast 15(?) and caused Studio to upload ACL files with the contents `false", causing problems in later processing steps of Opencast. This patch makes this at least easier to spot.
- Loading branch information