CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Restricting access to editing Smart Group search criteria
Pages: [1]

Author Topic: Restricting access to editing Smart Group search criteria  (Read 1072 times)

greg

  • Guest
Restricting access to editing Smart Group search criteria
July 01, 2008, 12:38:32 pm
Hello,

On a recently upgraded (1.9 to 2.0.4) CiviCRM install I administer, users without the "Edit Groups" Drupal permission[1] cannot see the "Settings", "Disable", and "Delete" button, implying that the lack of  "Edit Groups" permission is being obeyed, but those users can alter the search criteria for a Smart Group by going to Manage Groups->Members->Edit Smart Group Criteria, then making changes and updating the smart group. The main user of the site assures me that this was not the case in CiviCRM 1.9, but I currently unable to try to verify that this is the case. Aside from disabling some Drupal modules installed at the initial install but never used, I know of no changes to the Drupal or Civi setups beside the upgrades.

The documentation on the "Edit Groups" Drupal permission[2] makes no mention of Smart Groups. Is the "Edit Groups" permission supposed to control access to editing the Smart Group search criteria? Has it ever controlled access to the search criteria? Is it possible that this used to be the case for 1.9 and is not the case for 2.0?

I suppose the fundamental question is: Is there a mechanism for restricting edit access to the Smart Group search criteria?

Thanks,
-G

[1] Specifically, the Drupal role that the users belong to has the following permissions: access CiviCRM,  access Contact Dashboard, access all custom data, add contacts, edit all contacts, profile listings and forms, and view all contacts.

[2] http://wiki.civicrm.org/confluence/display/CRMDOC/Default+Permissions+and+Roles

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Restricting access to editing Smart Group search criteria
July 01, 2008, 01:55:46 pm
I'm pretty sure that this permission has never controlled anything beyond Adding a new group, and Editing group settings. Your question triggered a conversation about this - and we've added an issue to extend the scope of this to cover changes in group members (static and smart groups) - for 2.2.

http://issues.civicrm.org/jira/browse/CRM-3267

If this is a critical issue for your users in the near to medium term, you'll need to modify the code.
Protect your investment in CiviCRM by  becoming a Member!

greg

  • Guest
Re: Restricting access to editing Smart Group search criteria
July 01, 2008, 02:08:39 pm
Thanks!

Best,
-G

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Restricting access to editing Smart Group search criteria

This forum was archived on 2017-11-26.