Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18261

Incorrectly labeled relationship permissions checkboxes when editing from contact b

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Steps to reproduce:
      Create a relationship between two contacts Alice and Bob.
      Make sure Alice is contact a and Bob is contact b.
      Go to Bob's view contact screen and switch to the Relationships tab.
      Edit the relationship you just created.
      Give Bob permission to edit and update Alice's information.
      Save the relationship
      Edit the relationship again.
      The checkboxes will now show Alice having permission to edit Bob's information.

      Analysis of problem:
      Inspection of the html form shows that the first check box (when editing from Bob's screen it's labelled "Bob can view and update information about Alice) has the id "is_permission_a_b".
      The second checkbox is labelled "Alice can view and update information about Bob". This checkbox has the id "is_permission_b_a".
      If you check the box with the right id (check is_permission_b_a to grant Bob permission to edit Alice) the correct permission is applied.
      Checking the box with the correct label results in the reverse permission being applied.

      It's a bit tricky to explain. Just follow the steps on the demo site and play with it and you should understand what's going on.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mpnordland Micah Nordland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: