conservancy / reimbursinator

Git Up GitHub: https://GiveUpGitHub.org
https://GiveUpGitHub.org
GNU Affero General Public License v3.0
7 stars 6 forks source link

Update to more detailed policy file #96

Closed danieldupriest closed 5 years ago

danieldupriest commented 5 years ago

The policy file is now much more detailed and includes rules which can return generated strings to display error messages to the user. To test:

  1. Start docker and log in.
  2. Create a new report
  3. Try saying "Yes" to the question "Did you already take this trip" and save.
  4. The json should include a rule violation with helpful instructions.

The individual rules of each policy section will be much easier to test once section updating on-screen is merged.