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) »
  • Having visibility of Custom Data groups be defined by Role
Pages: [1]

Author Topic: Having visibility of Custom Data groups be defined by Role  (Read 724 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Having visibility of Custom Data groups be defined by Role
June 07, 2009, 07:51:50 pm
Not sure if this has been floated before (did a search in case)

Idea would be to have option in Custom Data groups/sets to associate their visibility to a particular role.

This would tidy up the issue of the ACL hook that uses custom data for setting access - but would also pick up issues such as having a tab that has information that needs to be kept for special eyes only.

Any thoughts on difficulty or gotchas?

Primary thinking was pertaining to data that are set as 'tabs' but no reason it couldn't apply to 'inline' too
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Having visibility of Custom Data groups be defined by Role
June 08, 2009, 04:17:02 am
this could work.
Though the data would get more difficult cause it is not just the tab but the fields.

I did some of this with javascript but someone could just turn off javascript.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Having visibility of Custom Data groups be defined by Role
June 08, 2009, 04:27:53 pm
yes of course you are right - it would have to flow through the whole database in terms of ensuring those fields weren't then visible to people who shouldn't access them in Searches and Profiles.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Having visibility of Custom Data groups be defined by Role

This forum was archived on 2017-11-26.