From 54572440e011e6f6662c894dcea4634cfbcd58b1 Mon Sep 17 00:00:00 2001 From: Andrey Potyomkin Date: Fri, 21 Jun 2024 09:37:55 +0300 Subject: [PATCH] =?UTF-8?q?bug:=20Permissions.=20=D0=98=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D1=83?= =?UTF-8?q?=D0=BA=D1=82=D1=83=D1=80=D0=B0=20=D0=B4=D0=B8=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/permissions/permissionsModule.md | 16 +++++++++------- docs/permissions/policies.md | 20 +++++++++++--------- docs/permissions/rules.md | 21 +++++++++++---------- 3 files changed, 31 insertions(+), 26 deletions(-) diff --git a/docs/permissions/permissionsModule.md b/docs/permissions/permissionsModule.md index da55237..a91e417 100644 --- a/docs/permissions/permissionsModule.md +++ b/docs/permissions/permissionsModule.md @@ -9,12 +9,16 @@ sidebar_position: 2 ``` ├── modules/ | ├── permissions/ -| | ├── stores/ -| | | ├── PermissionsStore/ -| | | | ├── policies/ -| | | | ├── rules/ -| | | | ├── PermissionsStore.ts +| | ├── domain/ +| | | ├── stores/ +| | | | ├── PermissionsStore/ +| | | | | ├── policies/ +| | | | | ├── rules/ +| | | | | ├── PermissionsStore.ts +| | | | | └── index.ts | | | | └── index.ts +| | | ├── types/ +| | | ├── enums.ts | | | └── index.ts | | ├── features/ | | | ├── routesGuards/ @@ -22,8 +26,6 @@ sidebar_position: 2 | | | | ├── ReadingBookRouteGuard/ | | | | └── index.ts | | | └── index.ts -| | ├── types/ -| | ├── enums.ts | | └── index.ts | ├── payment/ | └── layout/ diff --git a/docs/permissions/policies.md b/docs/permissions/policies.md index 048736f..8845d99 100644 --- a/docs/permissions/policies.md +++ b/docs/permissions/policies.md @@ -12,17 +12,19 @@ sidebar_position: 3 ``` ├── modules/ | ├── permissions/ -| | ├── stores/ -| | | ├── PermissionsStore/ -| | | | ├── policies/ -| | | | | |── AdministrationPolicyStore/ -| | | | | |── BooksPolicyStore/ -| | | | | |── PaymentPolicyStore/ +| | ├── domain/ +| | | ├── stores/ +| | | | ├── PermissionsStore/ +| | | | | ├── policies/ +| | | | | | |── AdministrationPolicyStore/ +| | | | | | |── BooksPolicyStore/ +| | | | | | |── PaymentPolicyStore/ +| | | | | | └── index.ts +| | | | | ├── PermissionsStore.ts | | | | | └── index.ts -| | | ├── PermissionsStore.ts +| | | | └── index.ts +| | | ├── enums.ts | | | └── index.ts -| | ├── enums.ts -| | └── index.ts ``` Policies являются частью имплементации PermissionStore, поэтому находятся внутри него. diff --git a/docs/permissions/rules.md b/docs/permissions/rules.md index a407aae..4aee73d 100644 --- a/docs/permissions/rules.md +++ b/docs/permissions/rules.md @@ -14,17 +14,18 @@ sidebar_position: 6 ``` ├── modules/ | ├── permissions/ -| | ├── stores/ -| | | ├── PermissionsStore/ -| | | | ├── policies/ -| | | | ├── rules/ -| | | | | |── calcAcceptableAge/ -| | | | | |── calcAccountPayment/ -| | | | | └── index.ts -| | | ├── PermissionsStore.ts +| | ├── domain/ +| | | ├── stores/ +| | | | ├── PermissionsStore/ +| | | | | ├── policies/ +| | | | | ├── rules/ +| | | | | | |── calcAcceptableAge/ +| | | | | | |── calcAccountPayment/ +| | | | | | └── index.ts +| | | | ├── PermissionsStore.ts +| | | | └── index.ts +| | | ├── enums.ts | | | └── index.ts -| | ├── enums.ts -| | └── index.ts ``` ## Rules - приватные функции модуля `permissions`