1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System.Linq;
- using InABox.Core;
- namespace Comal.Classes
- {
- [Caption("Configure Task Panel")]
- public class CanConfigureTasksPanel : EnabledSecurityDescriptor<TaskManagementLicense, Kanban>
- {
- }
- 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>
- {
- }
- }
|