Back to Devexpress

IPermissionPolicyRole.PermissionPolicy Property

expressappframework-devexpress-dot-persistent-dot-base-dot-ipermissionpolicyrole.md

latest2.1 KB
Original Source

IPermissionPolicyRole.PermissionPolicy Property

Specifies the Security System behavior when there are no explicitly specified permissions for a specific type, object or member.

Namespace : DevExpress.Persistent.Base

Assembly : DevExpress.Persistent.Base.v25.2.dll

NuGet Package : DevExpress.Persistent.Base

Declaration

csharp
SecurityPermissionPolicy PermissionPolicy { get; set; }
vb
Property PermissionPolicy As SecurityPermissionPolicy

Property Value

TypeDescription
SecurityPermissionPolicy

A SecurityPermissionPolicy enumeration value specifying the behavior when there are no explicitly specified permissions.

|

Available values:

NameDescription
DenyAllByDefault

Access is denied by default.

| | ReadOnlyAllByDefault |

Read-only access is granted by default.

| | AllowAllByDefault |

Full access is granted by default.

|

Remarks

With this property, you can assign “deny all”, “read only all” or “allow all” default permission policies for each role. For each operation, you can explicitly specify the Allow or Deny modifier or leave it blank.

See Also

Roles and Permission Policy

IPermissionPolicyRole Interface

IPermissionPolicyRole Members

DevExpress.Persistent.Base Namespace