Policy bundles convention in sync app
Closes #28 (closed)
The Sync app is changed to meet the policy bundles convention.
The policy file must be named policy.rego
and placed in the following directory: {group}/{policyName}/{version}/
.
Also there could be a data file named data.json
in the same directory. Contents of the data file is put as a policy field called data
in the policies
collection in MongoDB.
Edited by Yordan Kinkov