123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System.Linq;
- using InABox.Core;
- namespace Comal.Classes
- {
- public class CanViewTasks : AutoSecurityDescriptor<Kanban, CanView<Kanban>>
- {
- public override string Code => GetType().EntityName().Split('.').Last();
- }
- public class CanViewTaskTypes : AutoSecurityDescriptor<KanbanType, CanView<KanbanType>>
- {
- public override string Code => GetType().EntityName().Split('.').Last();
- }
- [Caption("View Tasks for Other Employees")]
- public class CanViewOthersTasks : EnabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- [Caption("Close Tasks for Other Employees")]
- public class CanCloseOthersTasks : EnabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- [Caption("Change all Task Information for Other Employees")]
- public class CanChangeOthersTasks : EnabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- [Caption("Allow Task Completed Column to be Hidden")]
- public class CanHideTaskCompletedColumn : EnabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- [Caption("Can Set Task Completed Date")]
- public class CanSetKanbanCompletedDate : DisabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- [Caption("Can Share Task Details With Others")]
- public class CanShareTaskDetails : DisabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- }
|