openfga final model store example tuples

author
1 minute, 5 seconds Read
[
  {
    "object": "user_repo:admin_global",
    "relation": "member",
    "user": "user:super_bob"
  },
  {
    "object": "org:a",
    "relation": "admin_repo",
    "user": "user_repo:admin_global"
  },
  {
    "object": "org:a",
    "relation": "user_repo",
    "user": "user_repo:global"
  },
  {
    "object": "user_repo:global",
    "relation": "member",
    "user": "user:anne"
  },
  {
    "object": "user_repo:global",
    "relation": "member",
    "user": "user:beth"
  },
  {
    "object": "role_group:a/admin",
    "relation": "owner",
    "user": "org:a"
  },
  {
    "object": "role:admin",
    "relation": "associated_role_group",
    "user": "role_group:a/admin"
  },
  {
    "object": "permission:mutate",
    "relation": "associated_role",
    "user": "role:admin"
  },
  {
    "object": "feature:storage",
    "relation": "associated_plan",
    "user": "plan:pro"
  },
  {
    "object": "permission:mutate",
    "relation": "associated_feature",
    "user": "feature:storage"
  },
  {
    "object": "plan:pro",
    "relation": "associated_plan_group",
    "user": "plan_group:a/pro"
  },
  {
    "object": "plan_group:a/pro",
    "relation": "subscriber",
    "user": "org:a"
  },
  {
    "object": "plan_provider:azure",
    "relation": "plan",
    "user": "plan:pro"
  },
  {
    "object": "plan_repo:global",
    "relation": "plan",
    "user": "plan:pro"
  },
  {
    "object": "plan_provider:azure",
    "relation": "plan_repo",
    "user": "plan_repo:global"
  },
  {
    "object": "integrity:1234",
    "relation": "member",
    "user": "user:anne"
  },
  {
    "object": "integrity:1234",
    "relation": "member",
    "user": "user:beth"
  },
  {
    "object": "user_repo:global",
    "relation": "integrity",
    "user": "integrity:1234"
  },
  {
    "object": "user_repo:admin_global",
    "relation": "integrity",
    "user": "integrity:1234"
  },
  {
    "object": "integrity:1234",
    "relation": "member",
    "user": "user:super_bob"
  },
  {
    "object": "org:a",
    "relation": "org_member",
    "user": "user:anne"
  },
  {
    "object": "role_group:a/admin",
    "relation": "org_member",
    "user": "user:anne"
  },
  {
    "object": "org:a",
    "relation": "org_member",
    "user": "user:beth"
  }
]

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *