Codeunit 9864 Permission Impl.

System Application, System.Security.AccessControl

Source AL, 341 lines

src/System Application/App/Permission Sets/src/PermissionImpl.Codeunit.allines 10 to 25 of 341, Copyright (c) Microsoft Corporation. MIT

codeunit 9864 "Permission Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        AllObjTxt: Label 'All objects of type %1', Comment = '%1= type name, e.g. Table Data or Report or Page';        AllObjExceptTxt: Label 'All objects of type %1 (except where otherwise stated)', Comment = '%1= type name, e.g. Table Data or Report or Page';        SelectObjectsLbl: Label 'Select objects to add';        SelectObjectLbl: Label 'Select object to add';        PermissionAlreadyExistsWithDifferentTypeErr: Label 'The permission already exists with type %1', Comment = '%1 = the type of the existing permission';        IncludeOption: Option " ",Yes,Indirect;        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";

All 341 lines

Public procedures 15 in 29

SelectPermissions(CurrAppId: Guid; CurrRoleID: Code[20]): Booleannew in 21
LookupPermission(ObjectType: Option; var ObjectIDText: Text): Booleannew in 21
UpdatePermissionLine(IsTypeChanged: Boolean; var TenantPermission: Record "Tenant Permission"; var ObjectCaption: Text; var ObjectName: Text; var ReadPermissionAsTxt: Text[50]; var InsertPermissionAsTxt: Text[50]; var ModifyPermissionAsTxt: Text[50]; var DeletePermissionAsTxt: Text[50]; var ExecutePermissionAsTxt: Text[50])new in 21
IsPermissionEmpty(var TenantPermission: Record "Tenant Permission"): Booleannew in 21
VerifyPermissionAlreadyExists(var TenantPermissionRec: Record "Tenant Permission"): Booleannew in 21
EmptyIrrelevantPermissionFields(var TenantPermission: Record "Tenant Permission")new in 21

All 17 procedures in 21-29

Changes 1 in 23

List17181920212223242526272829
Procedures51
UpdateSelectedPermissionLines(var TenantPermission: Record "Tenant Permission"; RIMDX: Text[1]; PermissionOption: Option)new in 23
added

All 6 changes in 21-29