HumanResources_Descriptors.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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("View Hourly Rates")]
  29. public class CanViewHourlyRates : DisabledSecurityDescriptor<HumanResourcesLicense, Employee>
  30. {
  31. }
  32. [Caption("Allow Timesheet Midnight Rollover")]
  33. public class AllowTimeSheetRollover : DisabledSecurityDescriptor<HumanResourcesLicense, TimeSheet>
  34. {
  35. }
  36. [SecurityDescriptorScope(SecurityDescriptorScope.Global)]
  37. [Caption("Allow Split Shifts in Employee Rosters")]
  38. public class AllowEmployeeRosterSplitShifts : DisabledSecurityDescriptor<HumanResourcesLicense, Employee>
  39. {
  40. }
  41. [Caption("View Public Holidays On Mobile")]
  42. public class CanViewPublicHolidaysOnMobile : DisabledSecurityDescriptor<HumanResourcesLicense, StandardLeave>
  43. {
  44. }
  45. [Caption("Send Mobile Phone Credentials")]
  46. public class CanCreateMobilePhoneCredentialLinks : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  47. {
  48. }
  49. [Caption("View Mobile In Out Board Details")]
  50. public class CanViewMobileInOutBoardDetails : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  51. {
  52. }
  53. [Caption("Is Job-Only Employee")]
  54. public class IsJobOnlyEmployee : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  55. {
  56. }
  57. }