SHARE
TWEET

Untitled

a guest Dec 29th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 10:55:48.685 [info]  forbidden:
  2.   Facts Gathered
  3.     Global facts:
  4.       ✗ user.manager == true ⭑
  5.     ---
  6.     492ee8fb-5cff-4671-9644-d93f4c53ce57 facts:
  7.       ✗ user.id == this_record.id
  8.     ---
  9.     b7ad2f2e-50df-49a5-a835-d966aaf8df3f facts:
  10.       ✓ user.id == this_record.id
  11.  
  12.   Authorization Steps:
  13.  
  14.     read - `default` -> Ash.Test.Authorization.ReadAuthorizationTest.Author: :
  15.       1| authorize_if: user.id == this_record.id
  16.       2| forbid_unless: user.manager == true
  17.       3| forbid_if: this_record.fired == true
  18.       4| authorize_unless: this_record.self_manager == true
  19.  
  20.         Record                               |1|2|3|4|
  21.         b7ad2f2e-50df-49a5-a835-d966aaf8df3f |✓|~|~|~|
  22.         492ee8fb-5cff-4671-9644-d93f4c53ce57 |→|✗|~|~|
  23.  
  24.  
  25.   Scenarios:
  26.     No scenarios found. Under construction.
  27.     Eventually, scenarios will explain what data you could change to make the request possible.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top