openfga-final-model-checks.json

author
1 minute, 1 second Read
[{
		"tuple_key": {
			"object": "org:a",
			"relation": "member",
			"user": "user:beth"
		},
		"contextual_tuples": {
			"tuple_keys": [{
					"object": "integrity:1234",
					"relation": "member_in_context",
					"user": "user:beth"
				},
				{
					"object": "org:a",
					"relation": "user_in_context",
					"user": "user:beth"
				}
			]
		}
	},
	{
		"tuple_key": {
			"object": "org:a",
			"relation": "member",
			"user": "user:anne"
		},
		"contextual_tuples": {
			"tuple_keys": [{
					"object": "integrity:1234",
					"relation": "member_in_context",
					"user": "user:anne"
				},
				{
					"object": "org:a",
					"relation": "user_in_context",
					"user": "user:anne"
				}
			]
		}
	},
	{
		"tuple_key": {
			"object": "org:a",
			"relation": "member",
			"user": "user:super_bob"
		},
		"contextual_tuples": {
			"tuple_keys": [{
					"object": "integrity:1234",
					"relation": "member_in_context",
					"user": "user:super_bob"
				},
				{
					"object": "org:a",
					"relation": "user_in_context",
					"user": "user:super_bob"
				}
			]
		}
	},
	{
		"tuple_key": {
			"object": "permission:mutate",
			"relation": "access",
			"user": "user:super_bob"
		},
		"contextual_tuples": {
			"tuple_keys": [{
					"object": "integrity:1234",
					"relation": "member_in_context",
					"user": "user:super_bob"
				},
				{
					"object": "org:a",
					"relation": "user_in_context",
					"user": "user:super_bob"
				}
			]
		}
	},
	{
		"tuple_key": {
			"object": "permission:mutate",
			"relation": "access",
			"user": "user:anne"
		},
		"contextual_tuples": {
			"tuple_keys": [{
					"object": "integrity:1234",
					"relation": "member_in_context",
					"user": "user:anne"
				},
				{
					"object": "org:a",
					"relation": "user_in_context",
					"user": "user:anne"
				}
			]
		}
	},
	{
		"tuple_key": {
			"object": "permission:mutate",
			"relation": "access",
			"user": "user:beth"
		},
		"contextual_tuples": {
			"tuple_keys": [{
					"object": "integrity:1234",
					"relation": "member_in_context",
					"user": "user:beth"
				},
				{
					"object": "org:a",
					"relation": "user_in_context",
					"user": "user:beth"
				}
			]
		}
	}
]

Similar Posts

Leave a Reply

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