Search Results for

    Show / Hide Table of Contents

    Interface ITeamDefaultPermission

    The system entity for team default permissions, which defines the default permissions the parent ITeam get to any specified type of item in the system

    See https://help.lemonedge.com/help/open-architecture/admin/teams/default-permissions-view.html for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(object)
    ICloneableAsync.CopyFromSource(object)
    ICanTrackProperties.HasTrackedPropertyChanged(string)
    ICanTrackProperties.OriginalTrackedPropertyValue(string)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(string)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    IPermissionChecker.CanWrite
    IPermissionChecker.CanDelete
    IPermissionChecker.CanChangePermissions
    Namespace: LemonEdge.API.Entities.Administration
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.TeamDefaultPermissions, "dbo.LT_TeamDefaultPermissions", "TeamDefaultPermission", IsStandingDataEntity = true)]
    [MultipleUnique(new string[] { "TeamID", "EntityID", "PermissionSafeID" })]
    [DefaultEntityIcon(ImageType.UserPermission)]
    [EntityIndex(Name = "DefaultPermissions", ColumnNames = new string[] { "TeamID", "EntityID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    public interface ITeamDefaultPermission : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IPermissionChecker

    Properties

    CanCreate

    Indicates this team has permissions to create new instances of entities of this type.

    If they do not have this permission, the team will never be able to create new instances of records of this type through any function in the system be that the API, web services, applications, etc.

    Declaration
    [EntityProperty(SQLType.Bit, false)]
    [DBTrackChanges]
    bool CanCreate { get; set; }
    Property Value
    Type Description
    bool

    EntityID

    [Key] Holds the entity type you want to assign default permissions for this team to.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    [EntityKeyProperty]
    [RequiredNoDefaultIDValidation]
    Guid EntityID { get; set; }
    Property Value
    Type Description
    Guid

    PermissionSafeID

    [Key] Holds the safe you want to assign default permissions for this team to.

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityKeyProperty]
    [EntityRelationship(EntityID.Safe, "ID", SingleJoinType.ZeroToOne, "Safe", "Default Permissions", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
    Guid? PermissionSafeID { get; set; }
    Property Value
    Type Description
    Guid?

    TeamID

    [Key] Links to ITeam. The parent team this default permission belongs to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityKeyProperty]
    [EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Team", "Default Permissions", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
    [RequiredNoDefaultIDValidation]
    Guid TeamID { get; set; }
    Property Value
    Type Description
    Guid

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    ITeam
    ITeamDefaultTeamPermission
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.