Class Permission
Helper object for constants related to the permissions-type
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public class Permission : EntityBasedType, IHasDecorators<IEntity>
- Inheritance
-
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
FieldGrant
public const string FieldGrant = "Grant"
Field Value
FieldIdentity
public const string FieldIdentity = "Identity"
Field Value
FieldOwner
public const string FieldOwner = "Owner"
Field Value
TypeName
public const string TypeName = "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; }