From 5db2608461e85fd3c8c0202afee9857aded6fdc9 Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Wed, 18 Dec 2024 08:08:25 +0000 Subject: [PATCH 1/2] Add missing group permission --- .../components/schemas/GroupPermissions.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/openapi/components/schemas/GroupPermissions.yaml b/openapi/components/schemas/GroupPermissions.yaml index 21242e9..6c33679 100644 --- a/openapi/components/schemas/GroupPermissions.yaml +++ b/openapi/components/schemas/GroupPermissions.yaml @@ -2,6 +2,32 @@ type: array items: type: string enum: + - * + - group-announcement-manage + - group-audit-view + - group-bans-manage + - group-data-manage + - group-default-role-manage + - group-galleries-manage + - group-instance-age-gated-create + - group-instance-join + - group-instance-manage + - group-instance-moderate + - group-instance-open-create + - group-instance-plus-create + - group-instance-plus-portal + - group-instance-plus-portal-unlocked + - group-instance-public-create + - group-instance-queue-priority + - group-instance-restricted-create + - group-invites-manage + - group-members-manage + - group-members-remove + - group-members-viewall + - group-roles-assign + - group-roles-manage + x-enum-varnames: + - group-all - group-announcement-manage - group-audit-view - group-bans-manage From 567f063c74b78e4bb38ca3e2e24b37170bf5395b Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Wed, 18 Dec 2024 08:26:58 +0000 Subject: [PATCH 2/2] rename group permissions to snake_case, fix asterix permission --- .../components/schemas/GroupPermissions.yaml | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/openapi/components/schemas/GroupPermissions.yaml b/openapi/components/schemas/GroupPermissions.yaml index 6c33679..9028b85 100644 --- a/openapi/components/schemas/GroupPermissions.yaml +++ b/openapi/components/schemas/GroupPermissions.yaml @@ -2,7 +2,7 @@ type: array items: type: string enum: - - * + - \* - group-announcement-manage - group-audit-view - group-bans-manage @@ -27,27 +27,27 @@ items: - group-roles-assign - group-roles-manage x-enum-varnames: - - group-all - - group-announcement-manage - - group-audit-view - - group-bans-manage - - group-data-manage - - group-default-role-manage - - group-galleries-manage - - group-instance-age-gated-create - - group-instance-join - - group-instance-manage - - group-instance-moderate - - group-instance-open-create - - group-instance-plus-create - - group-instance-plus-portal - - group-instance-plus-portal-unlocked - - group-instance-public-create - - group-instance-queue-priority - - group-instance-restricted-create - - group-invites-manage - - group-members-manage - - group-members-remove - - group-members-viewall - - group-roles-assign - - group-roles-manage + - group_all + - group_announcement_manage + - group_audit_view + - group_bans_manage + - group_data_manage + - group_default_role_manage + - group_galleries_manage + - group_instance_age_gated_create + - group_instance_join + - group_instance_manage + - group_instance_moderate + - group_instance_open_create + - group_instance_plus_create + - group_instance_plus_portal + - group_instance_plus_portal_unlocked + - group_instance_public_create + - group_instance_queue_priority + - group_instance_restricted_create + - group_invites_manage + - group_members_manage + - group_members_remove + - group_members_viewall + - group_roles_assign + - group_roles_manage