HumanResources_Descriptors.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. [Caption("Change Timesheet Start/Finish Times")]
  5. public class CanChangeStartFinishTimes : DisabledSecurityDescriptor<HumanResourcesLicense, TimeSheet>
  6. {
  7. }
  8. [Caption("Approve Timesheets")]
  9. public class CanApproveTimesheets : EnabledSecurityDescriptor<HumanResourcesLicense, TimeSheet>
  10. {
  11. }
  12. [Caption("Archive Timesheets")]
  13. public class CanArchiveTimesheets : DisabledSecurityDescriptor<HumanResourcesLicense, TimeSheet>
  14. {
  15. }
  16. [Caption("Approve Leave Requests")]
  17. public class CanApproveLeaveRequests : EnabledSecurityDescriptor<HumanResourcesLicense, LeaveRequest>
  18. {
  19. }
  20. [Caption("Edit Org Chart Structure")]
  21. public class CanEditOrgChart : EnabledSecurityDescriptor<HumanResourcesLicense, Employee>
  22. {
  23. }
  24. [Caption("View User Passwords")]
  25. public class CanViewPasswords : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  26. {
  27. }
  28. [Caption("Allow Timesheet Midnight Rollover")]
  29. public class AllowTimeSheetRollover : DisabledSecurityDescriptor<HumanResourcesLicense, TimeSheet>
  30. {
  31. }
  32. [SecurityDescriptorScope(SecurityDescriptorScope.Global)]
  33. [Caption("Allow Split Shifts in Employee Rosters")]
  34. public class AllowEmployeeRosterSplitShifts : DisabledSecurityDescriptor<HumanResourcesLicense, Employee>
  35. {
  36. }
  37. [Caption("View Public Holidays On Mobile")]
  38. public class CanViewPublicHolidaysOnMobile : DisabledSecurityDescriptor<HumanResourcesLicense, StandardLeave>
  39. {
  40. }
  41. [Caption("Send Mobile Phone Credentials")]
  42. public class CanCreateMobilePhoneCredentialLinks : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  43. {
  44. }
  45. [Caption("View Mobile In Out Board Details")]
  46. public class CanViewMobileInOutBoardDetails : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  47. {
  48. }
  49. [Caption("Is Job-Only Employee")]
  50. public class IsJobOnlyEmployee : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  51. {
  52. }
  53. }