Codeunit WSB_CDPConfidentialPermSetMgt
Implements functionality related to exposure of confidential data by permission sets.
Properties
Methods
wgFncConfidentialDataExclusionPermissionSetExists
Returns whether the "Confidential Data Exclusion" permission set exists.
Returns
Type |
Description |
Boolean |
true iff the "Confidential Data Exclusion" permission exists. |
wgFncGetConfidentialDataExclusionPermissionSet
Gets the "Confidential Data Exclusion" (tenant) permission set (and creates it if it does not exist yet).
Parameters
Type |
Name |
Description |
Record "Tenant Permission Set" |
vRecTenantPermissionSet |
The "Confidential Data Exclusion" (tenant) permission set |
wgFncGetConfidentialPermissionSets
Retrieves the confidential permission sets in a buffer table.
Parameters
Type |
Name |
Description |
Record "Permission Set Buffer" temporary |
vRecTempPermissionSetBuffer |
The temporary record set to hold the permission sets. |
wgFncGetConfidentialTableObjectIDs
Gets the object IDs (as a list) of the tables that are considered as containing confidential data.
Parameters
Type |
Name |
Description |
List |
vConfidentialTableObjectIDs |
The confidential table object IDs in a list. |
wgFncGetConfidentialTableObjectIDs
Gets the object IDs (as a list) of the tables that are considered as containing confidential data.
Parameters
Type |
Name |
Description |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
List |
vConfidentialTableObjectIDs |
The confidential table object IDs in a list. |
wgFncGetConfidentialTableObjectIDsFilter
Gets a filter string with the object IDs of the tables that are considered as containing confidential data.
Returns
Type |
Description |
Text |
The filter string. |
wgFncGetConfidentialTableObjectIDsFilter
Gets a filter string with the object IDs of the tables that are considered as containing confidential data.
Parameters
Type |
Name |
Description |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
Returns
Type |
Description |
Text |
The filter string. |
wgFncGetDefaultConfidentialTableObjectIDs
Gets the object IDs of the tables that are considered as containing confidential data by default.
Parameters
Type |
Name |
Description |
List |
vConfidentialTableObjectIDs |
The default confidential table object IDs in a list. |
wgFncGetDefaultConfidentialTableObjectIDs
Gets the object IDs of the tables that are considered as containing confidential data by default.
Parameters
Type |
Name |
Description |
List |
vConfidentialTableObjectIDs |
The default confidential table object IDs in a list. |
Boolean |
pIncludeExtensionChanges |
Specifies whether to include changes to the defaults applied by extensions. |
wgFncIsConfidentialDataExclusionPermissionSet
Returns whether the (tenant) permission set is the "Confidential Data Exclusion" permission set.
Parameters
Type |
Name |
Description |
Record "Tenant Permission Set" |
pRecTenantPermissionSet |
The tenant permission set to check. |
Returns
Type |
Description |
Boolean |
true if the permission set is the "Confidential Data Exclusion" permission set. |
wgFncIsConfidentialDataExclusionPermissionSet
Returns whether the permission set with specified role ID and app ID is the "Confidential Data Exclusion" permission set.
Parameters
Type |
Name |
Description |
Guid |
pAppID |
The app ID of the permission set. |
Code[20] |
pRoleID |
The role ID of the permission set. |
Returns
Type |
Description |
Boolean |
true if the permission set is the "Confidential Data Exclusion" permission set. |
wgFncIsConfidentialTableSetupCustomized
Returns whether the "Confidential Tables Setup" has been customized, i.e., is different from the default due to changes to the setup by an administrator in the client.
Returns
Type |
Description |
Boolean |
true if the Confidential Tables Setup has been customized. |
wgFncIsConfidentialTableSetupExtended
Returns whether the "Confidential Tables Setup" has been extended, i.e., is different from the default by changes from one or more extensions.
Returns
Type |
Description |
Boolean |
true if the Confidential Tables Setup has been extended. |
wgFncIsPermissionSetConfidential
Returns whether the permission set with specified role ID and app ID exposes confidential data.
Parameters
Type |
Name |
Description |
Guid |
pAppID |
The app ID of the permission set. |
Code[20] |
pRoleID |
The role ID of the permission set. |
Returns
Type |
Description |
Boolean |
true if the permission set exposes confidential data. |
wgFncIsPermissionSetWithFullyConfidentialTables
Returns whether the permission set with specified role ID and app ID exposes confidential data of tables where all records are confidential.
Parameters
Type |
Name |
Description |
Guid |
pAppID |
The app ID of the permission set. |
Code[20] |
pRoleID |
The role ID of the permission set. |
Returns
Type |
Description |
Boolean |
true if the permission set exposes confidential data of tables where all records are confidential. |
wgFncIsTenantPermissionExcludingConfidentialDataTable
Returns whether the tenant permission excludes confidential data.
Parameters
Type |
Name |
Description |
Record "Tenant Permission" |
pRecTenantPermission |
The tenant permission. |
Returns
Type |
Description |
Boolean |
true if the tenant permission excludes confidential data. |
wgFncIsTenantPermissionExcludingConfidentialDataTable
Returns whether the tenant permission excludes confidential data.
Parameters
Type |
Name |
Description |
Record "Tenant Permission" |
pRecTenantPermission |
The tenant permission. |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
Returns
Type |
Description |
Boolean |
true if the tenant permission excludes confidential data. |
wgFncIsTenantPermissionForConfidentialTable
Returns whether the tenant permission is related to confidential data.
Parameters
Type |
Name |
Description |
Record "Tenant Permission" |
pRecTenantPermission |
The tenant permission. |
Returns
Type |
Description |
Boolean |
true if the tenant permission is related to confidential data. |
wgFncIsTenantPermissionForConfidentialTable
Returns whether the tenant permission is related to confidential data.
Parameters
Type |
Name |
Description |
Record "Tenant Permission" |
pRecTenantPermission |
The tenant permission. |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
Returns
Type |
Description |
Boolean |
true if the tenant permission is related to confidential data. |
wgFncIsTenantPermissionIncludingConfidentialDataTable
Returns whether the tenant permission includes/exposes confidential data.
Parameters
Type |
Name |
Description |
Record "Tenant Permission" |
pRecTenantPermission |
The tenant permission. |
Returns
Type |
Description |
Boolean |
true if the tenant permission includes/exposes confidential data. |
wgFncIsTenantPermissionIncludingConfidentialDataTable
Returns whether the tenant permission includes/exposes confidential data.
Parameters
Type |
Name |
Description |
Record "Tenant Permission" |
pRecTenantPermission |
The tenant permission. |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
Returns
Type |
Description |
Boolean |
true if the tenant permission includes/exposes confidential data. |
wgFncRestoreConfidentialTableSetupDefaults
Restores the default configuration in the Confidential Table Setup table.
wgFncSetConfidentialTableFiltersOnExpandedPermission
Applies filters on a "Expanded Permission" record to only get the permissions that expose confidential table data for a permission set with specified role ID and app ID.
Parameters
Type |
Name |
Description |
Guid |
pAppID |
The app ID of the permission set to get the confidential permissions for. |
Code[20] |
pRoleID |
The role ID of the permission set to get the confidential permissions for. |
Record "Expanded Permission" |
vRecExpandedPermission |
The "Expanded Permission" record to apply the filters to. |
wgFncSetConfidentialTableFiltersOnExpandedPermission
Applies filters on a "Expanded Permission" record to only get the permissions that expose confidential table data for a permission set with specified role ID and app ID.
Parameters
Type |
Name |
Description |
Guid |
pAppID |
The app ID of the permission set to get the confidential permissions for. |
Code[20] |
pRoleID |
The role ID of the permission set to get the confidential permissions for. |
Record "Expanded Permission" |
vRecExpandedPermission |
The "Expanded Permission" record to apply the filters to. |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
wgFncSetConfidentialTableFiltersOnExpandedPermission
Applies filters on a "Expanded Permission" record to only get the permissions that expose confidential table data.
Parameters
Type |
Name |
Description |
Record "Expanded Permission" |
vRecExpandedPermission |
The "Expanded Permission" record to apply the filters to. |
wgFncSetConfidentialTableFiltersOnExpandedPermission
Applies filters on a "Expanded Permission" record to only get the permissions that expose confidential table data.
Parameters
Type |
Name |
Description |
Record "Expanded Permission" |
vRecExpandedPermission |
The "Expanded Permission" record to apply the filters to. |
Boolean |
pFullyConfidentialOnly |
Whether to only include that the tables were all records are confidential. |
wgFncViewConfidentialDataExclusionPermissionSet
Opens a page to view the confidential data exclusion permission set.
wgFncViewConfidentialPermissionsInPermissionSets
Opens a page to view the details of all TableData Direct Read permissions in confidential permission sets.
wgFncViewConfidentialPermissionsOfPermissionSet
Opens a page to view the confidential permissions exposed by a permission set.
Parameters
Type |
Name |
Description |
Guid |
pAppID |
The app ID of the permission set. |
Code[20] |
pRoleID |
The role ID of the permission set. |
wlEvpOnAfterGetDefaultConfidentialTableObjectIDs
Allows to adjust which confidential tables should be considered confidential. Please note that it is not possible to remove table object ID = 0 (All table data) via an event subscriber to this event publisher.
Parameters
Type |
Name |
Description |
Dictionary |
vConfidentialTableObjectIDSet |
The set of table object IDs of the confidential tables. |