12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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>
- {
- }
- }
|