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]): Boolean | new in 21 |
| LookupPermission(ObjectType: Option; var ObjectIDText: Text): Boolean | new 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"): Boolean | new in 21 |
| VerifyPermissionAlreadyExists(var TenantPermissionRec: Record "Tenant Permission"): Boolean | new in 21 |
| EmptyIrrelevantPermissionFields(var TenantPermission: Record "Tenant Permission") | new in 21 |
All 17 procedures in 21-29
Changes 1 in 23
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | 5 | 1 | | | | | | |
|---|
All 6 changes in 21-29