HumanResources_Descriptors.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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("Manage Leave Requests")]
  21. public class ManageLeaveRequestApprovals : EnabledSecurityDescriptor<HumanResourcesLicense, LeaveRequest>
  22. {
  23. }
  24. [Caption("Edit Org Chart Structure")]
  25. public class CanEditOrgChart : EnabledSecurityDescriptor<HumanResourcesLicense, Employee>
  26. {
  27. }
  28. [Caption("View User Passwords")]
  29. public class CanViewPasswords : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  30. {
  31. }
  32. [Caption("View Hourly Rates")]
  33. public class CanViewHourlyRates : DisabledSecurityDescriptor<HumanResourcesLicense, Employee>
  34. {
  35. }
  36. [Caption("Allow Timesheet Midnight Rollover")]
  37. public class AllowTimeSheetRollover : DisabledSecurityDescriptor<HumanResourcesLicense, TimeSheet>
  38. {
  39. }
  40. [SecurityDescriptorScope(SecurityDescriptorScope.Global)]
  41. [Caption("Allow Split Shifts in Employee Rosters")]
  42. public class AllowEmployeeRosterSplitShifts : DisabledSecurityDescriptor<HumanResourcesLicense, Employee>
  43. {
  44. }
  45. [Caption("View Public Holidays On Mobile")]
  46. public class CanViewPublicHolidaysOnMobile : DisabledSecurityDescriptor<HumanResourcesLicense, StandardLeave>
  47. {
  48. }
  49. [Caption("Send Mobile Phone Credentials")]
  50. public class CanCreateMobilePhoneCredentialLinks : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  51. {
  52. }
  53. [Caption("View Mobile In Out Board Details")]
  54. public class CanViewMobileInOutBoardDetails : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  55. {
  56. }
  57. [Caption("Is Job-Only Employee")]
  58. public class IsJobOnlyEmployee : DisabledSecurityDescriptor<HumanResourcesLicense, User>
  59. {
  60. }
  61. }