keto icon indicating copy to clipboard operation
keto copied to clipboard

fix(cli): distinguish between subjectSet and subjectID in check command

Open treilik opened this issue 3 years ago • 3 comments

attempt of fixing #850 but the command:

./keto check 'videos:/cats/1.mp4#owner' view videos '/cats/1.mp4' still Outputs "Denied" even though it should be "Allowed" because of:

NAMESPACE       OBJECT          RELATION NAME   SUBJECT
videos          /cats/1.mp4     view            videos:/cats/1.mp4#owner

treilik avatar Aug 14 '22 23:08 treilik

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Aug 14 '22 23:08 CLAassistant

Hi, and thanks for your contribution! It looks quite solid already, but could you add some tests to see that it actually works? Thanks!

hperl avatar Aug 16 '22 13:08 hperl

Hi, and thanks for your contribution! It looks quite solid already, but could you add some tests to see that it actually works? Thanks!

Hi, Yes I'll do :)

treilik avatar Aug 17 '22 09:08 treilik