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
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.TeamDefaultPermissions, "dbo.LT_TeamDefaultPermissions", "TeamDefaultPermission", IsStandingDataEntity = true)]
[MultipleUnique(new string[]{"TeamID", "EntityID"})]
[DefaultEntityIcon(ImageType.UserPermission)]
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)]
bool CanCreate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EntityID
[Key] Holds the entity type you want to assign default permissions for this team to.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TeamID
[Key] Links to ITeam. The parent team this default permission belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Teams", "TeamDefaultPermissions", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |