Codeunit 9855 "Permission Set Relation"
System Application · System.Security.AccessControl
Across versions
- BC23-30present
Neighbourhood 7 connected objects and pages
System Application · System.Security.AccessControl · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnShowSecurityFilterForTenantPermission(var TenantPermission: Record "Tenant Permission"; var OutputSecurityFilter: Text)(integration): Event that is raised to show security filter for a tenant permission.- subscribers: Codeunit 9001 “Permission Pages Mgt.” ShowSecurityFilterForTenantPermissionSystem
Procedures
AddNewPermissionSetRelation(AppId: Guid; RoleId: Code[30]; Scope: Option System,Tenant; RelatedAppId: Guid; RelatedRoleId: Code[30]; RelatedScope: Option System,Tenant; PermissionType: Option Include,Exclude): Boolean: Adds a new permission set relation.OpenPermissionSetPage(Name: Text; RoleId: Code[30]; AppId: Guid; Scope: Option System,Tenant): Opens the permission set page for the specified role ID.VerifyUserCanEditPermissionSet(AppId: Text): Verify that the user can edit permission sets, with the specified app ID. Throws an error if not.CopyPermissionSet(NewRoleId: Code[30]; NewName: Text; SourceRoleId: Code[30]; SourceAppId: Guid; SourceScope: Option System,Tenant; CopyType: Enum "Permission Set Copy Type"): CopyPermissionSet will copy the source permission set using the specified copy type.LookupPermissionSet(AllowMultiselect: Boolean; var AggregatePermissionSet: Record "Aggregate Permission Set"): Boolean: Opens the permission set page in lookup mode and assigns the selected record to specified Permission Set record.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 9856 “Permission Set Relation Impl.” (4 calls:
AddNewPermissionSetRelation → AddNewPermissionSetRelation,LookupPermissionSet → LookupAssignablePermissionSets,OpenPermissionSetPage → OpenPermissionSetPage, …) - Codeunit 9863 “Permission Set Copy Impl.” (1 call:
CopyPermissionSet → CopyPermissionSet)
Called by
- Page 9859 “Tenant Permission Subform” (3 calls:
OnDeleteRecord → VerifyUserCanEditPermissionSet,OnInsertRecord → VerifyUserCanEditPermissionSet,OnModifyRecord → VerifyUserCanEditPermissionSet) - Codeunit 9822 “Plan Configuration Impl.” (1 call:
LookupPermissionSet → LookupPermissionSet) - Codeunit 9850 “Permission Set Card Subscriber” (1 call:
OnOpenPermissionSetCard → OpenPermissionSetPage) - Table 9852 “Permission Buffer” (1 call:
OpenPermissionsPage → OpenPermissionSetPage)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Permission Set Relation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.