From 9fbf426cc2945313b68d75f3fc29dad8df082007 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 10 Jul 2024 14:43:21 +0200 Subject: [PATCH] Regenerate minder authz (#3828) We forgot to regenerate authz after f1a690462fffe04f3bb7273e0257d66a19cb6158 --- internal/authz/model/minder.generated.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/authz/model/minder.generated.json b/internal/authz/model/minder.generated.json index 5edfca22fd..c07fa248af 100644 --- a/internal/authz/model/minder.generated.json +++ b/internal/authz/model/minder.generated.json @@ -1 +1 @@ -{"schema_version":"1.1","type_definitions":[{"type":"user"},{"metadata":{"relations":{"admin":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"member":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]}}},"relations":{"admin":{"this":{}},"member":{"union":{"child":[{"this":{}},{"computedUserset":{"relation":"admin"}}]}}},"type":"group"},{"metadata":{"relations":{"admin":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"artifact_create":{},"artifact_delete":{},"artifact_get":{},"artifact_update":{},"create":{},"delete":{},"editor":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"entity_reconcile":{},"entity_reconciliation_task_create":{},"get":{},"parent":{"directly_related_user_types":[{"type":"project"}]},"permissions_manager":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"policy_writer":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"pr_create":{},"pr_delete":{},"pr_get":{},"pr_update":{},"profile_create":{},"profile_delete":{},"profile_get":{},"profile_status_get":{},"profile_update":{},"provider_create":{},"provider_delete":{},"provider_get":{},"provider_update":{},"remote_repo_get":{},"repo_create":{},"repo_delete":{},"repo_get":{},"repo_update":{},"role_assignment_create":{},"role_assignment_list":{},"role_assignment_remove":{},"role_assignment_update":{},"role_list":{},"rule_type_create":{},"rule_type_delete":{},"rule_type_get":{},"rule_type_update":{},"update":{},"viewer":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]}}},"relations":{"admin":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"relation":"admin"},"tupleset":{"relation":"parent"}}}]}},"artifact_create":{"computedUserset":{"relation":"editor"}},"artifact_delete":{"computedUserset":{"relation":"editor"}},"artifact_get":{"computedUserset":{"relation":"viewer"}},"artifact_update":{"computedUserset":{"relation":"editor"}},"create":{"computedUserset":{"relation":"admin"}},"delete":{"computedUserset":{"relation":"admin"}},"editor":{"union":{"child":[{"this":{}},{"computedUserset":{"relation":"admin"}},{"tupleToUserset":{"computedUserset":{"relation":"editor"},"tupleset":{"relation":"parent"}}}]}},"entity_reconcile":{"computedUserset":{"relation":"editor"}},"entity_reconciliation_task_create":{"computedUserset":{"relation":"editor"}},"get":{"computedUserset":{"relation":"viewer"}},"parent":{"this":{}},"permissions_manager":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"relation":"permissions_manager"},"tupleset":{"relation":"parent"}}}]}},"policy_writer":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"relation":"policy_writer"},"tupleset":{"relation":"parent"}}}]}},"pr_create":{"computedUserset":{"relation":"editor"}},"pr_delete":{"computedUserset":{"relation":"editor"}},"pr_get":{"computedUserset":{"relation":"viewer"}},"pr_update":{"computedUserset":{"relation":"editor"}},"profile_create":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"profile_delete":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"profile_get":{"computedUserset":{"relation":"viewer"}},"profile_status_get":{"computedUserset":{"relation":"viewer"}},"profile_update":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"provider_create":{"computedUserset":{"relation":"admin"}},"provider_delete":{"computedUserset":{"relation":"admin"}},"provider_get":{"computedUserset":{"relation":"viewer"}},"provider_update":{"computedUserset":{"relation":"admin"}},"remote_repo_get":{"computedUserset":{"relation":"admin"}},"repo_create":{"computedUserset":{"relation":"editor"}},"repo_delete":{"computedUserset":{"relation":"editor"}},"repo_get":{"computedUserset":{"relation":"viewer"}},"repo_update":{"computedUserset":{"relation":"editor"}},"role_assignment_create":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_assignment_list":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_assignment_remove":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_assignment_update":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_list":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"rule_type_create":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"rule_type_delete":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"rule_type_get":{"computedUserset":{"relation":"viewer"}},"rule_type_update":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"update":{"computedUserset":{"relation":"admin"}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"relation":"editor"}},{"tupleToUserset":{"computedUserset":{"relation":"viewer"},"tupleset":{"relation":"parent"}}}]}}},"type":"project"}]} +{"schema_version":"1.1","type_definitions":[{"type":"user"},{"metadata":{"relations":{"admin":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"member":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]}}},"relations":{"admin":{"this":{}},"member":{"union":{"child":[{"this":{}},{"computedUserset":{"relation":"admin"}}]}}},"type":"group"},{"metadata":{"relations":{"admin":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"artifact_create":{},"artifact_delete":{},"artifact_get":{},"artifact_update":{},"create":{},"delete":{},"editor":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"entity_reconcile":{},"entity_reconciliation_task_create":{},"get":{},"parent":{"directly_related_user_types":[{"type":"project"}]},"permissions_manager":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"policy_writer":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]},"pr_create":{},"pr_delete":{},"pr_get":{},"pr_update":{},"profile_create":{},"profile_delete":{},"profile_get":{},"profile_status_get":{},"profile_update":{},"provider_create":{},"provider_delete":{},"provider_get":{},"provider_update":{},"remote_repo_get":{},"repo_create":{},"repo_delete":{},"repo_get":{},"repo_update":{},"role_assignment_create":{},"role_assignment_list":{},"role_assignment_remove":{},"role_assignment_update":{},"role_list":{},"rule_type_create":{},"rule_type_delete":{},"rule_type_get":{},"rule_type_update":{},"update":{},"viewer":{"directly_related_user_types":[{"type":"user"},{"relation":"member","type":"group"}]}}},"relations":{"admin":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"relation":"admin"},"tupleset":{"relation":"parent"}}}]}},"artifact_create":{"computedUserset":{"relation":"editor"}},"artifact_delete":{"computedUserset":{"relation":"editor"}},"artifact_get":{"computedUserset":{"relation":"viewer"}},"artifact_update":{"computedUserset":{"relation":"editor"}},"create":{"computedUserset":{"relation":"admin"}},"delete":{"computedUserset":{"relation":"admin"}},"editor":{"union":{"child":[{"this":{}},{"computedUserset":{"relation":"admin"}},{"tupleToUserset":{"computedUserset":{"relation":"editor"},"tupleset":{"relation":"parent"}}}]}},"entity_reconcile":{"computedUserset":{"relation":"admin"}},"entity_reconciliation_task_create":{"computedUserset":{"relation":"editor"}},"get":{"computedUserset":{"relation":"viewer"}},"parent":{"this":{}},"permissions_manager":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"relation":"permissions_manager"},"tupleset":{"relation":"parent"}}}]}},"policy_writer":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"relation":"policy_writer"},"tupleset":{"relation":"parent"}}}]}},"pr_create":{"computedUserset":{"relation":"editor"}},"pr_delete":{"computedUserset":{"relation":"editor"}},"pr_get":{"computedUserset":{"relation":"viewer"}},"pr_update":{"computedUserset":{"relation":"editor"}},"profile_create":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"profile_delete":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"profile_get":{"computedUserset":{"relation":"viewer"}},"profile_status_get":{"computedUserset":{"relation":"viewer"}},"profile_update":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"provider_create":{"computedUserset":{"relation":"admin"}},"provider_delete":{"computedUserset":{"relation":"admin"}},"provider_get":{"computedUserset":{"relation":"viewer"}},"provider_update":{"computedUserset":{"relation":"admin"}},"remote_repo_get":{"computedUserset":{"relation":"admin"}},"repo_create":{"computedUserset":{"relation":"editor"}},"repo_delete":{"computedUserset":{"relation":"editor"}},"repo_get":{"computedUserset":{"relation":"viewer"}},"repo_update":{"computedUserset":{"relation":"editor"}},"role_assignment_create":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_assignment_list":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_assignment_remove":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_assignment_update":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"role_list":{"union":{"child":[{"computedUserset":{"relation":"admin"}},{"computedUserset":{"relation":"permissions_manager"}}]}},"rule_type_create":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"rule_type_delete":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"rule_type_get":{"computedUserset":{"relation":"viewer"}},"rule_type_update":{"union":{"child":[{"computedUserset":{"relation":"editor"}},{"computedUserset":{"relation":"policy_writer"}}]}},"update":{"computedUserset":{"relation":"admin"}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"relation":"editor"}},{"tupleToUserset":{"computedUserset":{"relation":"viewer"},"tupleset":{"relation":"parent"}}}]}}},"type":"project"}]}