@nocobase/plugin-acl 2.0.0-alpha.49 → 2.0.0-alpha.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.0.0-alpha.49",
11
+ "@nocobase/client": "2.0.0-alpha.50",
12
12
  "antd": "5.24.2",
13
13
  "react": "18.2.0",
14
14
  "react-i18next": "11.18.6",
@@ -17,14 +17,14 @@ module.exports = {
17
17
  "@formily/react": "2.3.7",
18
18
  "@ant-design/icons": "5.6.1",
19
19
  "lodash": "4.17.21",
20
- "@nocobase/utils": "2.0.0-alpha.49",
21
- "@nocobase/actions": "2.0.0-alpha.49",
22
- "@nocobase/cache": "2.0.0-alpha.49",
23
- "@nocobase/database": "2.0.0-alpha.49",
24
- "@nocobase/server": "2.0.0-alpha.49",
25
- "@nocobase/test": "2.0.0-alpha.49",
20
+ "@nocobase/utils": "2.0.0-alpha.50",
21
+ "@nocobase/actions": "2.0.0-alpha.50",
22
+ "@nocobase/cache": "2.0.0-alpha.50",
23
+ "@nocobase/database": "2.0.0-alpha.50",
24
+ "@nocobase/server": "2.0.0-alpha.50",
25
+ "@nocobase/test": "2.0.0-alpha.50",
26
26
  "@formily/core": "2.3.7",
27
27
  "@formily/antd-v5": "1.2.3",
28
28
  "antd-style": "3.7.1",
29
- "@nocobase/acl": "2.0.0-alpha.49"
29
+ "@nocobase/acl": "2.0.0-alpha.50"
30
30
  };
@@ -1,11 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "Der aktuelle Benutzer hat keine Rollen. Bitte versuchen Sie es mit einem anderen Konto.",
3
- "The user role does not exist. Please try signing in again": "Die Benutzerrolle existiert nicht. Bitte versuchen Sie, sich erneut anzumelden",
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Datenquellen",
5
+ "Desktop menu": "Desktop-Menü",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "Allgemein",
10
+ "Independent roles": "Independent roles",
4
11
  "New role": "Neue Rolle",
5
12
  "Permissions": "Berechtigungen",
6
- "Roles & Permissions": "Rollen und Berechtigungen",
7
- "General": "Allgemein",
8
- "Desktop menu": "Desktop-Menü",
13
+ "Please select role mode": "Please select role mode",
9
14
  "Plugin settings": "Plugin-Einstellungen",
10
- "Data sources": "Datenquellen"
11
- }
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Rollen und Berechtigungen",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "Der aktuelle Benutzer hat keine Rollen. Bitte versuchen Sie es mit einem anderen Konto.",
21
+ "The user role does not exist. Please try signing in again": "Die Benutzerrolle existiert nicht. Bitte versuchen Sie, sich erneut anzumelden"
22
+ }
@@ -1,18 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
3
- "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again",
4
- "New role": "New role",
5
- "Permissions": "Permissions",
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
6
5
  "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
7
10
  "Independent roles": "Independent roles",
8
- "Allow roles union": "Allow roles union",
9
- "Roles union only": "Roles union only",
10
- "Role mode": "Role mode",
11
- "Saved successfully": "Saved successfully",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
12
13
  "Please select role mode": "Please select role mode",
13
- "Full permissions": "Full permissions",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
14
16
  "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
15
- "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
16
- "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
17
- "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles."
18
- }
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Adatforrások",
5
+ "Desktop menu": "Asztali menü",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "Általános",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "Új szerepkör",
12
+ "Permissions": "Jogosultságok",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Bővítmény beállítások",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Szerepkörök és jogosultságok",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "A jelenlegi felhasználónak nincsenek szerepkörei. Kérjük, próbáljon meg egy másik fiókot.",
21
+ "The user role does not exist. Please try signing in again": "A felhasználói szerepkör nem létezik. Kérjük, próbáljon meg újra bejelentkezni"
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Sumber data",
5
+ "Desktop menu": "Menu desktop",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "Umum",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "Peran baru",
12
+ "Permissions": "Izin",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Pengaturan plugin",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Peran & Izin",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "Pengguna saat ini tidak memiliki peran. Harap coba akun lain.",
21
+ "The user role does not exist. Please try signing in again": "Peran pengguna tidak ada. Harap coba masuk lagi"
22
+ }
@@ -1,11 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "L'utente corrente non ha ruoli. Per favore prova con un altro account.",
3
- "The user role does not exist. Please try signing in again": "Il ruolo utente non esiste. Per favore prova ad accedere nuovamente.",
4
- "New role": "Nuovo ruolo",
5
- "Permissions": "Permessi",
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Origini dati",
6
5
  "Desktop menu": "Menu desktop",
7
- "Roles & Permissions": "Ruoli e permessi",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
8
9
  "General": "Generale",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "Nuovo ruolo",
12
+ "Permissions": "Permessi",
13
+ "Please select role mode": "Please select role mode",
9
14
  "Plugin settings": "Impostazioni plugin",
10
- "Data sources": "Origini dati"
11
- }
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Ruoli e permessi",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "L'utente corrente non ha ruoli. Per favore prova con un altro account.",
21
+ "The user role does not exist. Please try signing in again": "Il ruolo utente non esiste. Per favore prova ad accedere nuovamente."
22
+ }
@@ -1,11 +1,23 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "現在のユーザーには役割がありません。他のアカウントをお試しください。",
3
- "The user role does not exist. Please try signing in again": "ユーザーの役割が存在しません。もう一度サインインしてください。",
4
- "New role": "新しい役割",
5
- "Permissions": "権限",
6
- "Roles & Permissions": "ロールと権限",
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "データソース",
5
+ "Desktop menu": "デスクトップメニュー",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
7
9
  "General": "一般",
10
+ "Independent roles": "Independent roles",
8
11
  "Menu": "メニュー",
12
+ "New role": "新しい役割",
13
+ "Permissions": "権限",
14
+ "Please select role mode": "Please select role mode",
9
15
  "Plugin settings": "プラグインの設定",
10
- "Data sources": "データソース"
16
+ "Role mode": "Role mode",
17
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
18
+ "Roles & Permissions": "ロールと権限",
19
+ "Roles union only": "Roles union only",
20
+ "Saved successfully": "Saved successfully",
21
+ "The current user has no roles. Please try another account.": "現在のユーザーには役割がありません。他のアカウントをお試しください。",
22
+ "The user role does not exist. Please try signing in again": "ユーザーの役割が存在しません。もう一度サインインしてください。"
11
23
  }
@@ -1,5 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "현재 사용자에게 역할이 없습니다. 다른 계정을 시도해주세요.",
3
- "The user role does not exist. Please try signing in again": "사용자 역할이 존재하지 않습니다. 다시 로그인을 시도해주세요.",
4
- "Desktop menu": "데스크톱 메뉴"
5
- }
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "데이터 소스",
5
+ "Desktop menu": "데스크탑 메뉴",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "일반",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "새 역할",
12
+ "Permissions": "권한",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "플러그인 설정",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "역할 & 권한",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "현재 사용자는 역할이 없습니다. 다른 계정으로 시도해 주세요.",
21
+ "The user role does not exist. Please try signing in again": "사용자 역할이 존재하지 않습니다. 다시 로그인해 주세요."
22
+ }
@@ -1,11 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "De huidige gebruiker heeft geen rol. Probeer een andere gebruikersaccount.",
3
- "The user role does not exist. Please try signing in again": "De gebruikersrol bestaat niet. Probeer opnieuw in te loggen.",
4
- "Roles & Permissions": "Rollen & Permissies",
5
- "General": "Algemeen",
6
- "New role": "Nieuwe rol",
7
- "Permissions": "Permissies",
8
- "Desktop menu": "Desktop menu",
9
- "Plugin settings": "Plugin instellingen",
10
- "Data sources": "Data bronnen"
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data bronnen",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "Algemeen",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "Nieuwe rol",
12
+ "Permissions": "Permissies",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin instellingen",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Rollen & Permissies",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "De huidige gebruiker heeft geen rol. Probeer een andere gebruikersaccount.",
21
+ "The user role does not exist. Please try signing in again": "De gebruikersrol bestaat niet. Probeer opnieuw in te loggen."
11
22
  }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -1,18 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "У текущего пользователя нет ролей. Попробуйте другой аккаунт.",
3
- "The user role does not exist. Please try signing in again": "Роль пользователя не существует. Попробуйте войти снова.",
4
- "New role": "Новая роль",
5
- "Permissions": "Права доступа",
2
+ "Allow roles union": "Разрешить объединение ролей",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Разрешить пользователям использовать объединение ролей, то есть они могут одновременно использовать права всех своих ролей или переключаться между отдельными ролями.",
4
+ "Data sources": "Источники данных",
6
5
  "Desktop menu": "Меню рабочего стола",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Не использовать объединение ролей. Пользователям нужно переключаться между ролями по отдельности.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Принудительно использовать только объединение ролей. Переключение между отдельными ролями недоступно.",
8
+ "Full permissions": "Полные права",
9
+ "General": "Общие",
7
10
  "Independent roles": "Независимые роли",
8
- "Allow roles union": "Разрешить объединение ролей",
9
- "Roles union only": "Только объединение ролей",
10
- "Role mode": "Режим ролей",
11
- "Saved successfully": "Успешно сохранено",
11
+ "New role": "Новая роль",
12
+ "Permissions": "Права доступа",
12
13
  "Please select role mode": "Пожалуйста, выберите режим ролей",
13
- "Full permissions": "Полные права",
14
+ "Plugin settings": "Настройки плагина",
15
+ "Role mode": "Режим ролей",
14
16
  "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
15
- "Do not use role union. Users need to switch between their roles individually.": "Не использовать объединение ролей. Пользователям нужно переключаться между ролями по отдельности.",
16
- "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Разрешить пользователям использовать объединение ролей, то есть они могут одновременно использовать права всех своих ролей или переключаться между отдельными ролями.",
17
- "Force users to use only role union. They cannot switch between individual roles.": "Принудительно использовать только объединение ролей. Переключение между отдельными ролями недоступно."
18
- }
17
+ "Roles & Permissions": "Роли и разрешения",
18
+ "Roles union only": "Только объединение ролей",
19
+ "Saved successfully": "Успешно сохранено",
20
+ "The current user has no roles. Please try another account.": "У текущего пользователя нет ролей. Попробуйте другой аккаунт.",
21
+ "The user role does not exist. Please try signing in again": "Роль пользователя не существует. Попробуйте войти снова."
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "Tổng quát",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Quyền",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -1,22 +1,22 @@
1
1
  {
2
- "The current user has no roles. Please try another account.": "当前用户没有角色,请使用其他账号。",
3
- "The user role does not exist. Please try signing in again": "用户角色不存在,请尝试重新登录。",
2
+ "Allow roles union": "允许角色并集",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "允许用户使用角色并集,即可以同时使用自己拥有的所有角色的权限,也允许用户逐个切换自己的角色。",
4
+ "Data sources": "数据源",
5
+ "Desktop menu": "桌面端菜单",
6
+ "Do not use role union. Users need to switch between their roles individually.": "不使用角色并集,用户需要逐个切换自己拥有的角色。",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "强制用户仅能使用角色并集,不能逐个切换角色。",
8
+ "Full permissions": "全部权限",
9
+ "General": "通用",
10
+ "Independent roles": "独立角色",
4
11
  "New role": "新建角色",
5
12
  "Permissions": "权限",
6
- "Roles & Permissions": "角色和权限",
7
- "General": "通用",
8
- "Desktop menu": "桌面端菜单",
13
+ "Please select role mode": "请选择角色模式",
9
14
  "Plugin settings": "插件设置",
10
- "Data sources": "数据源",
11
- "Independent roles": "独立角色",
12
- "Allow roles union": "允许角色并集",
13
- "Roles union only": "仅角色并集",
14
15
  "Role mode": "角色模式",
15
- "Saved successfully": "保存成功",
16
- "Please select role mode": "请选择角色模式",
17
- "Full permissions": "全部权限",
18
16
  "Role mode doc": "https://docs-cn.nocobase.com/handbook/acl/manual",
19
- "Do not use role union. Users need to switch between their roles individually.": "不使用角色并集,用户需要逐个切换自己拥有的角色。",
20
- "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "允许用户使用角色并集,即可以同时使用自己拥有的所有角色的权限,也允许用户逐个切换自己的角色。",
21
- "Force users to use only role union. They cannot switch between individual roles.": "强制用户仅能使用角色并集,不能逐个切换角色。"
17
+ "Roles & Permissions": "角色和权限",
18
+ "Roles union only": "仅角色并集",
19
+ "Saved successfully": "保存成功",
20
+ "The current user has no roles. Please try another account.": "当前用户没有角色,请使用其他账号。",
21
+ "The user role does not exist. Please try signing in again": "用户角色不存在,请尝试重新登录。"
22
22
  }
@@ -0,0 +1,22 @@
1
+ {
2
+ "Allow roles union": "Allow roles union",
3
+ "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.": "Allow users to use role union, which means they can use permissions from all their roles simultaneously, or switch between individual roles.",
4
+ "Data sources": "Data sources",
5
+ "Desktop menu": "Desktop menu",
6
+ "Do not use role union. Users need to switch between their roles individually.": "Do not use role union. Users need to switch between their roles individually.",
7
+ "Force users to use only role union. They cannot switch between individual roles.": "Force users to use only role union. They cannot switch between individual roles.",
8
+ "Full permissions": "Full permissions",
9
+ "General": "General",
10
+ "Independent roles": "Independent roles",
11
+ "New role": "New role",
12
+ "Permissions": "Permissions",
13
+ "Please select role mode": "Please select role mode",
14
+ "Plugin settings": "Plugin settings",
15
+ "Role mode": "Role mode",
16
+ "Role mode doc": "https://docs.nocobase.com/handbook/acl/manual",
17
+ "Roles & Permissions": "Roles & Permissions",
18
+ "Roles union only": "Roles union only",
19
+ "Saved successfully": "Saved successfully",
20
+ "The current user has no roles. Please try another account.": "The current user has no roles. Please try another account.",
21
+ "The user role does not exist. Please try signing in again": "The user role does not exist. Please try signing in again"
22
+ }
@@ -95,10 +95,13 @@ function createWithACLMetaMiddleware() {
95
95
  return void 0;
96
96
  },
97
97
  app: {
98
+ dataSourceManager: ctx.app.dataSourceManager,
98
99
  getDb() {
99
100
  return db;
100
101
  }
101
102
  },
103
+ log: ctx.log,
104
+ logger: ctx.logger,
102
105
  getCurrentRepository: ctx.getCurrentRepository,
103
106
  action: {
104
107
  actionName: action,
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Based on roles, resources, and actions, access control can precisely manage interface configuration permissions, data operation permissions, menu access permissions, and plugin permissions.",
7
7
  "description.ru-RU": "На основе ролей, ресурсов и действий система контроля доступа может точно управлять разрешениями на изменение интерфейса, работу с данными, доступ к меню и разрешениями для подключаемых модулей.",
8
8
  "description.zh-CN": "基于角色、资源和操作的权限控制,可以精确控制界面配置权限、数据操作权限、菜单访问权限、插件权限。",
9
- "version": "2.0.0-alpha.49",
9
+ "version": "2.0.0-alpha.50",
10
10
  "license": "AGPL-3.0",
11
11
  "main": "./dist/server/index.js",
12
12
  "homepage": "https://docs.nocobase.com/handbook/acl",
@@ -39,5 +39,5 @@
39
39
  "url": "git+https://github.com/nocobase/nocobase.git",
40
40
  "directory": "packages/plugins/acl"
41
41
  },
42
- "gitHead": "99f71bc8961da62a761630b3eae11092a4372e3e"
42
+ "gitHead": "a6eb64abf3632e116ad0b295a7f410270a1059d1"
43
43
  }