Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,011
    • Issues 1,011
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • Core
  • Issues
  • #721

Closed
Open
Created Feb 13, 2019 by crusonweb@crusonweb

Role Based ACL Not Working With Smart Groups

After a recent upgrade to CiviCRM 5.10.0 under Wordpress 5.0.3 I discovered that Role Based ACLs could no longer see contacts when their role gives them access to a Smart Group (static groups still work properly). This seems to be a recurrence of an issue that pops up from time to time, but previous patches I have found do not resolve the issue. These did work under 5.9.0 (I tested a clean install with sample data) and do not under 5.10.0 (again I tested on a clean install with sample data). So some change between 5.9.0 and 5.10.0 caused this. I have also confirmed that 5.10.1 has the same issue. I do not know if this affects other CMS platforms, I have only tested on Wordpress.

To recreate:

  1. Set Up a View or Edit ACL for A group of contacts and select a Smart Group
  2. Log in as a contact that is connected to the role connected to that ACL
  3. Do a basic search with no criteria. If the contact is in the Smart Group you will see only them, if they aren't then you will get no results. Normally you should see the whole group.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
5.10.2
Milestone
5.10.2
Assign milestone
Time tracking
None
Due date
None