Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 10:55:48.685 [info] forbidden:
- Facts Gathered
- Global facts:
- ✗ user.manager == true ⭑
- ---
- 492ee8fb-5cff-4671-9644-d93f4c53ce57 facts:
- ✗ user.id == this_record.id
- ---
- b7ad2f2e-50df-49a5-a835-d966aaf8df3f facts:
- ✓ user.id == this_record.id
- Authorization Steps:
- read - `default` -> Ash.Test.Authorization.ReadAuthorizationTest.Author: :
- 1| authorize_if: user.id == this_record.id
- 2| forbid_unless: user.manager == true
- 3| forbid_if: this_record.fired == true
- 4| authorize_unless: this_record.self_manager == true
- Record |1|2|3|4|
- b7ad2f2e-50df-49a5-a835-d966aaf8df3f |✓|~|~|~|
- 492ee8fb-5cff-4671-9644-d93f4c53ce57 |→|✗|~|~|
- Scenarios:
- No scenarios found. Under construction.
- Eventually, scenarios will explain what data you could change to make the request possible.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement