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

Access Control issue in CiviCRM with Groups and Anonymous users

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: 4.7.x
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      Yes
    • Overview:
      Hide
      When an Anonymous individual on our WordPress CiviCRM site has a Group (Mailing List) selected in a Profile they are shown the following Warning message. Each Warning message is shown twice for each Group selected by the user.

      Warning: in_array() expects parameter 2 to be array, null given in /home/coloradomaker/www/www/wp-content/plugins/civicrm/civicrm/CRM/ACL/API.php on line 218

      Line 218 is the return statement for the groupPermission function.
      Show
      When an Anonymous individual on our WordPress CiviCRM site has a Group (Mailing List) selected in a Profile they are shown the following Warning message. Each Warning message is shown twice for each Group selected by the user. Warning: in_array() expects parameter 2 to be array, null given in /home/coloradomaker/www/www/wp-content/plugins/civicrm/civicrm/CRM/ACL/API.php on line 218 Line 218 is the return statement for the groupPermission function.
    • How it works currently:
      Show
      See the following link: https://civicrm.stackexchange.com/questions/22533/access-control-issue-in-civicrm-with-groups
    • How it should work:
      No warning
    • Acceptance Criteria:
      Not required to suppress PHP warnings to Anonymous users.

      Description

      Details are in the link above for 'How it works currently".

       

        Attachments

          Activity

            People

            • Assignee:
              haystack Christian Wach
              Reporter:
              chaosbuster Jeanette Breton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: