From bf22a3e45c44bf581ea32990cfba25583d5597a9 Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 19 Nov 2026 15:34:39 +0800 Subject: [PATCH] Document invitation and language text restore permissions --- docs/en/modules/identity.md | 2 ++ docs/en/modules/language-management.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en/modules/identity.md b/docs/en/modules/identity.md index 6b66763cf1..080534bc46 100644 --- a/docs/en/modules/identity.md +++ b/docs/en/modules/identity.md @@ -47,6 +47,8 @@ A user can have zero or more roles. Users inherit permissions from their roles. Role changes submitted through the general create or update input are applied only when the current user has the `AbpIdentity.Users.Update.ManageRoles` permission; otherwise, the submitted `RoleNames` value is ignored. Role changes performed by the administration workflow are filtered to prevent privilege escalation: except for an operator in the built-in `admin` role, an operator can only add or remove roles that they already have, and roles outside that set are kept unchanged. An operator in the `admin` role can assign any role. +Inviting users and managing pending invitations require the `AbpIdentity.Users` and `AbpIdentity.Users.Create` permissions. Roles submitted with an invitation are kept only when the current user has the `AbpIdentity.Users.Update.ManageRoles` permission, and an operator outside the `admin` role can only pre-assign roles they already have. Inviting an email address that already has a pending invitation replaces the roles of that invitation with the submitted roles. Resending an invitation keeps its roles. + When users edit their own record through the Identity administration service, a submitted `IsActive` change is ignored, and the built-in MVC, Blazor and MudBlazor user interfaces hide that field. The current user also can't delete their own account from this service. #### Roles diff --git a/docs/en/modules/language-management.md b/docs/en/modules/language-management.md index 6b91a557d3..16508baafd 100644 --- a/docs/en/modules/language-management.md +++ b/docs/en/modules/language-management.md @@ -43,8 +43,8 @@ The module defines the following permissions. All of them require the `LanguageM | `LanguageManagement.Languages.Edit` | Host | Change a language's display name and enabled state. | | `LanguageManagement.Languages.Delete` | Host | Delete a language. | | `LanguageManagement.Languages.ChangeDefault` | Host and tenant | Set the default language for the current tenant context. | -| `LanguageManagement.LanguageTexts` | Host and tenant | View localization texts and restore an override to its default value. | -| `LanguageManagement.LanguageTexts.Edit` | Host and tenant | Create or update localization-text overrides. | +| `LanguageManagement.LanguageTexts` | Host and tenant | View localization texts. | +| `LanguageManagement.LanguageTexts.Edit` | Host and tenant | Create or update localization-text overrides, and restore an override to its default value. | ### Menu Items