From 2521d98a458873e31b9b35a5e448ea42dcf9b7f1 Mon Sep 17 00:00:00 2001 From: Predrag Maricic Date: Fri, 18 Oct 2024 12:59:50 +0200 Subject: [PATCH] Fixing Purview misc mistakes in System apps (#2221) #### Summary The PR intents to fix misc typos or smaller Purview category bugs. #### Work Item(s) Fixes [AB#554698](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/554698) --- .../App/AI/src/Copilot/CopilotCapabilitiesGA.Page.al | 4 ++-- .../App/Permission Sets/src/PermissionImpl.Codeunit.al | 2 +- .../App/Privacy Notice/src/PrivacyNoticeApproval.Codeunit.al | 4 ++-- .../src/Retention Policy Setup/RetentionPolicySetup.Table.al | 2 +- .../App/User Settings/src/UserSettingsImpl.Codeunit.al | 2 +- .../src/WebServiceManagementImpl.Codeunit.al | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/System Application/App/AI/src/Copilot/CopilotCapabilitiesGA.Page.al b/src/System Application/App/AI/src/Copilot/CopilotCapabilitiesGA.Page.al index 9fba0968a2..71125feacc 100644 --- a/src/System Application/App/AI/src/Copilot/CopilotCapabilitiesGA.Page.al +++ b/src/System Application/App/AI/src/Copilot/CopilotCapabilitiesGA.Page.al @@ -164,8 +164,8 @@ page 7774 "Copilot Capabilities GA" CapabilityEnabled: Boolean; DataMovementEnabled: Boolean; SupplementalTermsLinkTxt: Label 'https://go.microsoft.com/fwlink/?linkid=2236010', Locked = true; - CopilotFeatureDeactivatedLbl: Label 'The copilot/AI capability %1, App Id %2 has been deactivated by the UserSecurityId %3.', Locked = true; - CopilotFeatureActivatedLbl: Label 'The copilot/AI capability %1, App Id %2 has been activated by the UserSecurityId %3.', Locked = true; + CopilotFeatureDeactivatedLbl: Label 'The copilot/AI capability %1, App Id %2 has been deactivated by UserSecurityId %3.', Locked = true; + CopilotFeatureActivatedLbl: Label 'The copilot/AI capability %1, App Id %2 has been activated by UserSecurityId %3.', Locked = true; internal procedure SetDataMovement(Value: Boolean) begin diff --git a/src/System Application/App/Permission Sets/src/PermissionImpl.Codeunit.al b/src/System Application/App/Permission Sets/src/PermissionImpl.Codeunit.al index fe0974a13e..8344f15442 100644 --- a/src/System Application/App/Permission Sets/src/PermissionImpl.Codeunit.al +++ b/src/System Application/App/Permission Sets/src/PermissionImpl.Codeunit.al @@ -23,7 +23,7 @@ codeunit 9864 "Permission Impl." IncludeDescriptionOption: Option "Specifies no permission","Specifies direct permission","Specifies indirect permission"; ExcludeOption: Option " ",Exclude,"Reduce to indirect"; ExcludeDescriptionOption: Option "No change to permission","Excludes any permission","Excludes any direct permission"; - PermissionUpdatedLbl: Label 'The tenant %1 permission for the App Id %2, Role %3, ObjectType %4, ObjectId %5 has been updated with the value: "%6", by the UserSecurityId %7.', Locked = true; + PermissionUpdatedLbl: Label 'Tenant %1 permission for the App Id %2, Role %3, ObjectType %4, ObjectId %5 has been updated with the value: "%6", by the UserSecurityId %7.', Locked = true; MultiplePermissionsUpdatedLbl: Label 'The tenant permissions for the App Id %1, Role %2, ObjectType %3, ObjectId %4 have been updated with the following values - Read "%5", Insert "%6", Modify "%7" and Delete "%8" by the UserSecurityId %9.', Locked = true; procedure SelectPermissions(CurrAppId: Guid; CurrRoleID: Code[20]): Boolean diff --git a/src/System Application/App/Privacy Notice/src/PrivacyNoticeApproval.Codeunit.al b/src/System Application/App/Privacy Notice/src/PrivacyNoticeApproval.Codeunit.al index b0a611e8e5..bec9402157 100644 --- a/src/System Application/App/Privacy Notice/src/PrivacyNoticeApproval.Codeunit.al +++ b/src/System Application/App/Privacy Notice/src/PrivacyNoticeApproval.Codeunit.al @@ -15,7 +15,7 @@ codeunit 1564 "Privacy Notice Approval" procedure SetApprovalState(PrivacyNoticeId: Code[50]; UserSID: Guid; PrivacyNoticeApprovalState: Enum "Privacy Notice Approval State") var PrivacyNoticeApproval: Record "Privacy Notice Approval"; - PrivacyNoticeApprovedLbl: Label 'Privacy Notice Approval ID %1 provided by User SID %2.', Locked = true; + PrivacyNoticeApprovedLbl: Label 'Privacy Notice Approval ID %1 provided by UserSecurityId %2.', Locked = true; begin if PrivacyNoticeApprovalState = "Privacy Notice Approval State"::"Not set" then begin ResetApproval(PrivacyNoticeId, UserSID); @@ -35,7 +35,7 @@ codeunit 1564 "Privacy Notice Approval" procedure ResetApproval(PrivacyNoticeId: Code[50]; UserSID: Guid) var PrivacyNoticeApproval: Record "Privacy Notice Approval"; - PrivacyNoticeResetLbl: Label 'Privacy Notice Approval ID %1 has been reset by User SID %2.', Locked = true; + PrivacyNoticeResetLbl: Label 'Privacy Notice Approval ID %1 has been reset by UserSecurityId %2.', Locked = true; begin PrivacyNoticeApproval.SetRange(ID, PrivacyNoticeId); PrivacyNoticeApproval.SetRange("User SID", UserSID); diff --git a/src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetup.Table.al b/src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetup.Table.al index b64c339bc3..7015a2f4d7 100644 --- a/src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetup.Table.al +++ b/src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetup.Table.al @@ -177,7 +177,7 @@ table 3901 "Retention Policy Setup" trigger OnInsert() var - NewRetentionPolicyCreatedLbl: Label 'The new Retention Policy record with Table ID %1 is created by the UserSecurityId %2.', Locked = true; + NewRetentionPolicyCreatedLbl: Label 'Retention Policy record with Table ID %1 is created by the UserSecurityId %2.', Locked = true; begin Session.LogAuditMessage(StrSubstNo(NewRetentionPolicyCreatedLbl, Rec."Table ID", UserSecurityId()), SecurityOperationResult::Success, AuditCategory::ApplicationManagement, 3, 0); end; diff --git a/src/System Application/App/User Settings/src/UserSettingsImpl.Codeunit.al b/src/System Application/App/User Settings/src/UserSettingsImpl.Codeunit.al index 40c928ff35..63256ee618 100644 --- a/src/System Application/App/User Settings/src/UserSettingsImpl.Codeunit.al +++ b/src/System Application/App/User Settings/src/UserSettingsImpl.Codeunit.al @@ -30,7 +30,7 @@ codeunit 9175 "User Settings Impl." UserCreatedAppNameTxt: Label '(User-created)'; DescriptionFilterTxt: Label 'Navigation menu only.'; NotEnoughPermissionsErr: Label 'You cannot open this page. Only administrators can access settings for other users.'; - UserSettingsUpdatedLbl: Label 'The user settings (UserSecurityId %1) has been updated with the values: Language ID %2, Locale ID %3, Company %4, Time Zone %5, Profile ID %6 by UserSecurityId %7 ', Locked = true; + UserSettingsUpdatedLbl: Label 'User settings (UserSecurityId %1) have been updated with the values: Language ID %2, Locale ID %3, Company %4, Time Zone %5, Profile ID %6 by UserSecurityId %7 ', Locked = true; procedure GetPageId(): Integer var diff --git a/src/System Application/App/Web Service Management/src/WebServiceManagementImpl.Codeunit.al b/src/System Application/App/Web Service Management/src/WebServiceManagementImpl.Codeunit.al index 14ce17b531..5c5f6832c5 100644 --- a/src/System Application/App/Web Service Management/src/WebServiceManagementImpl.Codeunit.al +++ b/src/System Application/App/Web Service Management/src/WebServiceManagementImpl.Codeunit.al @@ -700,7 +700,7 @@ codeunit 9751 "Web Service Management Impl." var WebService: Record "Web Service"; TenantWebService: Record "Tenant Web Service"; - WebServiceCreatedLbl: Label 'The Web Service record with Object Type %1, Service Name %2 has been created by UserSecurityId %3.', Locked = true; + WebServiceCreatedLbl: Label 'Web Service record with Object Type %1, Service Name %2 has been created by UserSecurityId %3.', Locked = true; begin if WebServiceAggregate."All Tenants" then begin Clear(WebService);