hi everyone 🙂 I m quite new to this so
# spicedb
v
Hey! 👋 As far as I can tell groups have members, and within that there are special users that are also admins or owners of the group. The permission reads "remove_user", which suggest removing any member. I think one option would be to turn
member
into a permission like this:
permission is_member = member + owner + admin
That way you wouldn't have to write owners and admins to the
member
relationship, and then
remove_user
really becomes
remove_member
. Then you'd also add a
remove_admin
permission, and you should be set.
c
ah that's great thank you for your help @vroldanbet! 👍
v
anytime!
2 Views