Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@AlexzPurewoko AlexzPurewoko released this 29 Feb 07:03
2226f88

Fix bug related with can() ability checking. The bug occurs when dealing with this rule (example with User A)

!scope:resourceA/*:review
scope:resourceA/{"author": 'A'}:*

It means that the User A :

  1. Cannot do review on all field of resourceA
  2. Can do anything (except review) on resourceA authored by User A (specific author field)

From the previous version, the user cannot do action described in number 2 above. But it already fixed on this release version