Class TeamDefaultPermission
Implements
Inherited Members
Namespace: LemonEdge.API.Entities.Administration
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
[MultipleUnique(new string[] { "TeamID", "EntityID", "PermissionSafeID" })]
public class TeamDefaultPermission : BaseEntity, ITeamDefaultPermission, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IPermissionChecker, ICloneableAsync<ITeamDefaultPermission>
Constructors
TeamDefaultPermission()
Declaration
public TeamDefaultPermission()
Properties
CanChangePermissions
Indicates this team has permissions to change the permissions for other teams for this record.
If they do not have this permission, the team will not be able to alter permissions that other teams have to this record through any function in the system be that the API, web services, applications, etc.
Declaration
public bool CanChangePermissions { get; set; }
Property Value
Type | Description |
---|---|
bool |
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
public bool CanCreate { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanDelete
Indicates this team has permissions to delete this record.
If they do not have this permission, the team will never be able to delete his record through any function of the system be that the API, web services, applications, etc.
Declaration
public bool CanDelete { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanWrite
Indicates this team has permissions to modify this record.
If they do not have this permission, the team will never be able to modify this record through any function of the system be that the API, web services, applications, etc.
Declaration
public bool CanWrite { get; set; }
Property Value
Type | Description |
---|---|
bool |
EntityID
[Key] Holds the entity type you want to assign default permissions for this team to.
Declaration
[RequiredNoDefaultIDValidation]
public 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
public Guid? PermissionSafeID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
PermissionSafeID_Label
Declaration
public string PermissionSafeID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
PermissionSafeID_Label_Silent
Declaration
[NotMapped]
public string PermissionSafeID_Label_Silent { get; set; }
Property Value
Type | Description |
---|---|
string |
TeamID
[Key] Links to ITeam. The parent team this default permission belongs to
Declaration
[RequiredNoDefaultIDValidation]
public Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TeamID_Label
Declaration
public string TeamID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
TeamID_Label_Silent
Declaration
[NotMapped]
public string TeamID_Label_Silent { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | src |
Overrides
CopyFromSource(ITeamDefaultPermission)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ITeamDefaultPermission source)
Parameters
Type | Name | Description |
---|---|---|
ITeamDefaultPermission | source | The source object to copy all values from. |