Skip to main content
.NET 8.0+

SecurityStrategy.SupportNavigationPermissionsForTypes Property

Specifies whether or not the navigation permissions are supported for types.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.2.dll

Declaration

[DefaultValue(true)]
public bool SupportNavigationPermissionsForTypes { get; set; }

Property Value

Type Default Description
Boolean true

true, if the navigation permissions are supported for types, otherwise false.

Remarks

To provide support for navigation permissions determined in the Type Permissions tab, set the SupportNavigationPermissionsForTypes property to true. This property switches between the two modes described in the table below:

Property value Mode description
true This mode is used in applications created in version 16.1 or earlier and updated to 16.2 or later. Navigation permissions from the Type Permissions tab have effect, but its priority is less than the settings in the Navigation Permissions tab. Access to the navigation items will not be changed while you don’t specify any settings in the Navigation Permissions tab. In this mode, non-persistent navigation items are always available if access is not denied in the Navigation Permissions tab.
false This mode is used in applications created in versions 16.2 and later. Navigation permissions from the Type Permissions tab have no effect and only new settings from the Navigation Permissions tab will be used. If permissions are not determined, access will be allowed or denied consistent with the role’s policy. In this mode, non-persistent navigation items are available if access is not denied in the Navigation Permissions or not disabled in the role’s policy.

You can specify the SupportNavigationPermissionsForTypes property value in the Application Designer. Focus the SecurityStrategy component and select a required value in the Properties grid:

SupportNavigationPermissionsForTypes

The following code snippets (auto-collected from DevExpress Examples) contain references to the SupportNavigationPermissionsForTypes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also