Table of Contents

Class Permission

Namespace
ToSic.Eav.Metadata.Sys
Assembly
ToSic.Eav.Data.dll

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
object
Permission
Implements
Inherited Members
Extension Methods

Fields

ContentTypeName

public const string ContentTypeName = "PermissionConfiguration"

Field Value

string

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

string

Grant

The rights granted by this permission, usually a series of characters like r=read, u=update, etc.

public string Grant { get; }

Property Value

string

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

string

Owner

Special token to identify the owner, like "dnn:42"

public string Owner { get; }

Property Value

string