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) »
  • Permissioning, View Contact and Custom Data
Pages: [1]

Author Topic: Permissioning, View Contact and Custom Data  (Read 946 times)

pkeogan

  • I post frequently
  • ***
  • Posts: 130
  • Karma: 4
    • BackOffice Thinking
Permissioning, View Contact and Custom Data
January 08, 2010, 07:28:40 am
Do you have any suggestions on how we can accomplish our goals with this significant upgrade?

Our goal is to allow certain groups to update custom data online

We could assumplish by giving them edit access to Contacts but I don't think we can limit their access to only their contact info and only certain Contact tabs.

My assumptions are

1) A user can not be given access to only their own Contact information (without assigning them to a group that doesn't contain any other users)

2) A user can not be given access to only a subset of custom data tabs (I'd like the user to have access to only their summary tab and 10 of the 12 custom data tabs)

Thanks again



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: Permissioning, View Contact and Custom Data
January 08, 2010, 08:44:16 am

in general, please start a new topic for new different questions :)

1. your first assumption is more or less right. You can potentially do the first one via an ACL hook. i've not tried it, but it does seem possible :)

2. if you use ACL's a user can be given access to a subset of the custom tabs. The other default tabs (notes, groups, activities) are not permissioned, however u can restrict access to them via a tab hook (though that is mainly a superficial restriction and if folks can guess the url, they can access the data)

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

pkeogan

  • I post frequently
  • ***
  • Posts: 130
  • Karma: 4
    • BackOffice Thinking
Re: Permissioning, View Contact and Custom Data
January 08, 2010, 10:57:56 am
Sorry about the topic, I thought it was a continuation  :)

1)For the ACL hook.  It seems to me that the only thing the hook would need to control is access to the top menu.  We should be able to move all items without hooks. How would a hook control the top menu? Can access to the menu be eliminated through a hook? or do we need to eliminate access to the top level elements (It seems without any hooks and with access to contacts only, the top menu has:  (home, search, contacts, help, and logout)

2) The Tab hook seems fairly straight forward.


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: Permissioning, View Contact and Custom Data
January 08, 2010, 01:45:45 pm

the acl hook only modifies the acl clause for contacts/groups/custom groups/events

there currently is no menu hook, we'll probably introduce one in a future release (or if important to you, please investigate and contribute a patch)

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

pkeogan

  • I post frequently
  • ***
  • Posts: 130
  • Karma: 4
    • BackOffice Thinking
Re: Permissioning, View Contact and Custom Data
January 08, 2010, 01:53:12 pm
ok, thanks -- we'll probably need to create a menu hook,.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Permissioning, View Contact and Custom Data

This forum was archived on 2017-11-26.