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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • ACL and Checksums
Pages: [1]

Author Topic: ACL and Checksums  (Read 1300 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
ACL and Checksums
January 19, 2011, 12:10:15 pm
We have a setup that should work but maybe we are missing the obvious and someone can just help me see it.

Event form
2 Profiles
A = Public ie ACL = Everyone
B = People in Speaker Group can 'View' this

The profiles have Custom Datasets, both of them do, and A is working great but when a user goes to the Event registration page with a Checksum in place they see only Profile fields in B (again all of A which is the easy part). But any Custom datasets in B they can not see. Admin type people can see them but not this logged out person using Checksum to tell CiviCRM who they are and their Groups/ACL.
The custom data set settings match the same settings in A so pretty sure that is not a problem.

Seems like it should just work but again maybe I am just missing something obvious.

Thanks

oh it is drupal and civi 3.2.3

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: ACL and Checksums
January 19, 2011, 03:04:50 pm

I dont think the ACL code is smart enough to understand that someone is logged in via a checksum

If i had to guess this is a missing feature / bug

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: ACL and Checksums
January 19, 2011, 06:50:39 pm
Let me know what the best next steps are.
I can test it on the demo site somehow, I can post it to the issue tracker etc.
Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: ACL and Checksums
January 19, 2011, 07:44:51 pm

This is a missing feature. If important to your org / client, you might want to investigate and figure out a fix for this and/or hire a developer to do the same. I'm not sure if we should even go down this path and give the "checksum" user privileges of a logged in user? A related issue is that the drupal permissioning system will still treat this user as an anon user and give them anon privileges which in most cases will override CiviCRM ACL's

A workaround might be to create accounts for folks in the speaker group and make them login before they register

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: ACL and Checksums
January 19, 2011, 08:16:19 pm
okay.
For now a bit a jquery took care of it.
We used checksum in the past to help pre-fill forms and where thinking (read it somewhere) that not only would it fill in the forms but show fields based on the users group info based on the checksum results.

It worked to a point ( I would have to review my testing notes again ) the speaker profile was not seen unless this checksum was in place and the user was in the right group. But the profiles fields that where Custom Data where not seen even though they had the same ACL. I would have to double check this since my testing was long and my notes are not in front of me.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • ACL and Checksums

This forum was archived on 2017-11-26.