Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: HR-1.0
    • Fix Version/s: HR-1.0
    • Component/s: None
    • Labels:
      None

      Description

      1. Use hook_civicrm_permissions to declare permissions "access HRJobs" and "edit HRJobs"
      2. In the "View Contact" screen, hide the "Jobs" tab if the user doesn't have permission "edit HRJobs". The default tab in this case should be the "Personal Details".
      3. In the API, require permission "access HRJobs" for "HRJob*.get" actions, and require permission "edit HRJobs" for the create/delete actions.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Time Spent - 3 hours, 5 minutes Remaining Estimate - 1 hour, 55 minutes
                1h 55m
                Logged:
                Time Spent - 3 hours, 5 minutes Remaining Estimate - 1 hour, 55 minutes
                3h 5m