Skip to content

Commit

Permalink
Only created expenses.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhatch committed Dec 10, 2020
1 parent 972fa73 commit eb2586f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/policy.polar
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
allow(_: User, "read", _: Expense);
allow(user: User, "read", expense: Expense) if
expense.created_by = user;

allow(_: User, "read", _: User);

0 comments on commit eb2586f

Please sign in to comment.