Uploaded image for project: 'CiviHR'
  1. CiviHR
  2. HR-227 Implement absence-request screen
  3. HR-272

Display "Employee" as hyperlink (if user has permission)

    Details

    • Type: Sub-task
    • Status: Won't Do
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: HR-1.2
    • Fix Version/s: HR-1.2
    • Component/s: Absence
    • Labels:
      None
    • Sprint:
      Sprint 1, Sprint 12b, Sprint 12d

      Description

      When viewing/editing an absence-request, the "Employee" name is displayed. This name should be a hyperlink – but only if the current user has to permission to view the employee's record.

      As a couple examples of different use-cases:

      • An employee may have permission to view his absence-requests but not to view his full contact record.
      • A high-level manager may have permission to view all absence-requests and all contact records
      • A mid-level manager may have permission to view absence-requests for people on his team. She may or may not have permission to view the full contact record (depending the org's policy and ACL configuration).

      There may be a suitable helper in CRM_ACL_API, CRM_ACL_BAO_ACL, or CRM_Core_Permission.

        Attachments

          Activity

            People

            • Assignee:
              nishant.bhorodia Nishant Bhorodia
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h