hello! Is it possible to "stub" out a permission i...
# talk-keto
f
hello! Is it possible to "stub" out a permission in a permission model typescript such that it can be used in the application but provides no actionable check value? I was using
view: (ctx: Context): boolean => true
but keto didn't like that on startup (expected
this
where
true
is). It isn't strictly necessary -- seems like the workaround / implication is to just not have a permit that relies on that for now (which means the application code wouldn't perform any check). That's fine. Means that I have to redeploy my application when I do want to change the model to legitimately implement
view
though.
Nevermind. Guessing the way to do this is to make the permission model work as intended and then add in relation tuples for "*" subjects on objects I want anyone to access
nevermind -- looks like * is treated as a literal