Class Permission
Helper object for constants related to the permissions-type
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public record Permission : ModelOfEntity, IModelSetup<IEntity>, IWrapper<IEntity>, IEquatable<ModelOfEntityCore>, IModelOfEntity, ICanBeEntity, IEquatable<ModelOfEntity>, IEquatable<Permission>
- Inheritance
-
objectPermission
- Implements
- Inherited Members
- Extension Methods
Fields
ContentTypeName
public const string ContentTypeName = "PermissionConfiguration"
Field Value
Properties
Condition
The condition in this permission - like "this rule applies to admins" The condition is usually a text-code by the hosting CMS
public string Condition { get; }
Property Value
Grant
The rights granted by this permission, usually a series of characters like r=read, u=update, etc.
public string Grant { get; }
Property Value
Identity
The identity this rule should apply to This is usually a user guid or group-id; exact specs vary based on the hosting CMS
public string Identity { get; }
Property Value
Owner
Special token to identify the owner, like "dnn:42"
public string Owner { get; }