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

Joey

02/25/2022, 4:27 PM
yes, you could have the flag just be a relation:
Copy code
definition organization {
  relation admin: user
  relation feature_flag_new_admin_dashboard: organization#admin
  permission view_new_admin_dashboard = feature_flag_new_admin_dashboard
}