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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • uncheck group from drupal edit user profile
Pages: [1]

Author Topic: uncheck group from drupal edit user profile  (Read 3038 times)

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
uncheck group from drupal edit user profile
December 08, 2009, 07:04:32 pm
I have a very simple profile that I use for "Drupal User Registration" and "View/Edit Drupal User Account" which includes the Contacts/Group(s) field.  When users register for a drupal account, they can select/unselect these checkboxes and their contact record is created with the correct groups.

But when users edit their drupal account, the profile will only allow them to add checked boxes, not remove them.  Unchecking a box and clicking save results in the page being reloaded and the box checked once again.

After much trial and error, I can work around the problem by granting "Edit All Contacts" permission to authenticated users.  But this just seems wrong to me and I worry that doing so would open up security holes. 

What am I not getting?

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: uncheck group from drupal edit user profile
December 10, 2009, 11:43:09 am
No one has any idea about this?  It is driving me crazy and users are complaining that they can't unsubscribe from email lists (even though I have yet to actually send any emails to any group).

More info:

I actually have 3 profiles that are used in drupal user registration and view/edit drupal account.  All 3 have identical settings for the profiles and the fields.  The "Contacts/Group(s)" field is the only one that is a problem.

v3.1b1

I would try to replicate it in the sandbox, but b/c it only manifests in the drupal edit user page for regular authenticated users (without civiCRM "edit all contacts" permission), I don't think I can get to all the drupal settings I would need to do so.

Any help would be appreciated.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: uncheck group from drupal edit user profile
December 10, 2009, 02:09:54 pm
Kirk - Sorry for the delay in response. I was able to replicate the exact behavior (and the "unacceptable" work-around) in my 3.0.3 sandbox. I've filed an issue for fix in the next release - you can track it here and potentially backport the changes:

http://issues.civicrm.org/jira/browse/CRM-5530
Protect your investment in CiviCRM by  becoming a Member!

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: uncheck group from drupal edit user profile
December 11, 2009, 05:45:30 am
Hi,
This issue has been fixed.
Here is Patch : http://fisheye2.atlassian.com/changelog/CiviCRM?cs=25489
Sunil
The community around a product more important than the product itself?

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: uncheck group from drupal edit user profile
December 11, 2009, 09:49:01 am
Wow, that was fast.  Seems to work fine.  Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • uncheck group from drupal edit user profile

This forum was archived on 2017-11-26.