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 (Moderator: Dave Greenberg) »
  • Profile acl doesn't work
Pages: [1]

Author Topic: Profile acl doesn't work  (Read 489 times)

dlats

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Profile acl doesn't work
February 02, 2013, 01:10:49 pm
I'm using 4.2. I have a profile with individual fields and a custom data set. The user role has only civicrm:access civicrm permission. The user is a member of the group that has the acl role. I've setup edit, view and create acl's for this profile. When I log in as this user, I get "you do not have permission etc" . I'm accessing via a link civicrm/profile/create?reset=1&gid=14 (which is the id of the profile in question).
Using civicrm/profile/view?reset=1&gid=14 and civicrm/profile/edit?reset=1&gid=14 yield the same message.
What am I missing?

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: Profile acl doesn't work
February 02, 2013, 07:12:57 pm

r u on the latest 4.2.7?

not sure why the below is happening. if you jump on IRC we can potentially help debug and figure out whats happening and why

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

dlats

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Profile acl doesn't work
February 03, 2013, 05:43:21 am
I was on 4.2.6. I've upgraded to 4.2.7 Same result. If I add the drupal permission civicrm:profile create, then the user can create a contact. But he can also create using every other profile. Also, since there is no "create" acl for custom data, the custom data fields don't appear in the create form.

I want  this user to have a form that creates contacts with added data in some custom data fields. This user has no access to anything else.

Another requirement is that one of the custom fields has an options list that changes depending on who the user is. I've implemented this in a drupal module. This feature won't work if I use the profile code snippet in a drupal page.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Profile acl doesn't work

This forum was archived on 2017-11-26.