diff --git a/package.json b/package.json index 09b2e0f..f7664ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "harmony-back", - "version": "0.13.5", + "version": "0.13.6", "private": true, "description": "A Strapi application", "scripts": { diff --git a/src/api/choral-membership/content-types/choral-membership/schema.json b/src/api/choral-membership/content-types/choral-membership/schema.json index ef80730..3e2ac92 100644 --- a/src/api/choral-membership/content-types/choral-membership/schema.json +++ b/src/api/choral-membership/content-types/choral-membership/schema.json @@ -36,6 +36,21 @@ "type": "component", "repeatable": true, "component": "user.permissions" + }, + "role_id": { + "type": "string" + }, + "permission_exceptions": { + "type": "json" + }, + "state": { + "type": "enumeration", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] } } } diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index cb930e5..cad17b9 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2026-03-15T09:48:03.007Z" + "x-generation-date": "2026-03-15T17:08:04.063Z" }, "x-strapi-config": { "plugins": [ @@ -20352,6 +20352,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -26527,6 +26540,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -32033,6 +32059,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -36930,6 +36969,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -42429,6 +42481,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -48284,6 +48349,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -53622,6 +53700,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -59407,6 +59498,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -65308,6 +65412,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -71410,6 +71527,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -74427,6 +74557,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "locale": { "type": "string" }, @@ -76929,6 +77072,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -79661,6 +79817,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -82292,6 +82461,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -87635,6 +87817,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -93028,6 +93223,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -98428,6 +98636,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -103768,6 +103989,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -109380,6 +109614,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -115055,6 +115302,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -120413,6 +120673,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -126149,6 +126422,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -131996,6 +132282,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -137325,6 +137624,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -142693,6 +143005,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -149413,6 +149738,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -154796,6 +155134,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -160257,6 +160608,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -166226,6 +166590,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -171767,6 +172144,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -177197,6 +177587,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" @@ -182573,6 +182976,19 @@ "$ref": "#/components/schemas/UserPermissionsComponent" } }, + "role_id": { + "type": "string" + }, + "permission_exceptions": {}, + "state": { + "type": "string", + "enum": [ + "active", + "pending_user_approval", + "pending_admin_approval", + "decline" + ] + }, "createdAt": { "type": "string", "format": "date-time" diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index c3993c9..782df2f 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -729,9 +729,14 @@ export interface ApiChoralMembershipChoralMembership 'api::choral-membership.choral-membership' > & Schema.Attribute.Private; + permission_exceptions: Schema.Attribute.JSON; permissions: Schema.Attribute.Component<'user.permissions', true>; publishedAt: Schema.Attribute.DateTime; role: Schema.Attribute.Enumeration<['member', 'admin', 'owner']>; + role_id: Schema.Attribute.String; + state: Schema.Attribute.Enumeration< + ['active', 'pending_user_approval', 'pending_admin_approval', 'decline'] + >; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private;