Table of Contents

Class Permission

Namespace
ToSic.Eav.Security
Assembly
ToSic.Eav.Core.dll

Helper object for constants related to the permissions-type

[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public class Permission : EntityBasedType, IHasDecorators<IEntity>
Inheritance
object
EntityBasedType
Permission
Implements

Constructors

Permission(IEntity)

Helper object for constants related to the permissions-type

public Permission(IEntity entity)

Parameters

entity IEntity

Fields

FieldCondition

public const string FieldCondition = "Condition"

Field Value

string

FieldGrant

public const string FieldGrant = "Grant"

Field Value

string

FieldIdentity

public const string FieldIdentity = "Identity"

Field Value

string

FieldOwner

public const string FieldOwner = "Owner"

Field Value

string

TypeName

public const string TypeName = "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