https://authzed.com logo
#spicedb
Title
# spicedb
j

Joey

02/25/2022, 5:16 PM
another option would be to link the flag back to the org itself:
Copy code
definition organization {
  relation admin: user
  relation feature_new_admin_dashboard_enabled_on: organization
  permission view_new_admin_dashboard = feature_new_admin_dashboard_enabled_on->admin & admin
}