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) »
  • Standalone - ACL not used for AddtoGroup/RemoveFromGroup
Pages: [1]

Author Topic: Standalone - ACL not used for AddtoGroup/RemoveFromGroup  (Read 802 times)

gotMoxie

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Standalone - ACL not used for AddtoGroup/RemoveFromGroup
January 22, 2010, 03:52:24 pm
Someone please correct me if I'm wrong but I'm working with 3.0.4 standalone in an effort to understand the ACL system that exists.

My goal is to allow authenticated users ability to edit contacts but NOT to be able to assign/remove users to/from the access level groups.

When editing a contact in the groups tab, the "add to group" select does not show access level groups. But when searching and using the "Add Contacts to Group" or "Remove Contacts from Group" bulk options, my authenticated user can add/remove access level groups and there fore adding them selves as admins.

3 default roles - Any, Administrator, Authenticated

My ACL's
Role   Operation   Type of Data   Which Data   Description   Enabled?   
Authenticated   View   Group   All Contacts-sm   Edit all contacts - smart group


Core ACL's
Any Role - access CiviMail subscribe/unsubscribe pages, register for events, profile listings and forms, make online contributions, access all custom data

Authenticated - register for events, profile listings and forms, make online contributions, access all custom data, access CiviMail subscribe/unsubscribe pages, access CiviCRM, view event info



What am I missing? Or is this a bug?

Thanks,

gotMoxie


gotMoxie

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Standalone - ACL not used for AddtoGroup/RemoveFromGroup
January 22, 2010, 04:43:19 pm
After working with this further it looks like it can be traced back to the CRM/Core/Permissions/Standalone.php file and the group function.

After updating this file with the group function from the Drupal file the groups seem to be restricted properly. I need to do more testing to make sure this does not affect other areas adversely though.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Standalone - ACL not used for AddtoGroup/RemoveFromGroup

This forum was archived on 2017-11-26.