you don t typically
# spicedb
y
you don't, typically
a
agreed . check permission requires me to have the rsource id before i can check if the resource has to be created.
y
it doesn't
resource creation permissions typically go on the parent object, not on the object to be created
so if you have a
folder
object and a
file
object and you want to ask whether a file can be created in a folder, you check the permission on the
folder
for
create
, even though
delete
and
update
go on the
file
a
ok got it , may be i was trying to lookup permissions and store . i have admin relationship defined , so if a user is admin it implies all permissions to create the resource .
i do not need to define an explcit permission check now for that or neither check it