Saumeel
12/18/2025, 3:04 PMdefinition example/channel {
relation admin_members: example/admins
relation user_members: example/users
}
definition example/admins {
relation channel: example/channel
}
definition example/users {
relation channel: example/channel
}
definition example/skus {
relation allowlisted_channel_members: example/channel#admin_members | example/channel#user_members
permission view_sku = allowlisted_channel_members
}
Is there any issue with having a cyclical relationship like user->channel and channel->user?
Is there maybe another way to structure this to avoid having the channel->user & channel->admin relations?yetitwo
12/18/2025, 4:47 PMyetitwo
12/18/2025, 4:47 PMyetitwo
12/18/2025, 4:48 PMyetitwo
12/18/2025, 4:48 PMSaumeel
12/18/2025, 9:12 PMyetitwo
12/19/2025, 3:51 PMPRECONDITION_FAILED gRPC error.yetitwo
12/19/2025, 3:51 PM