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) »
  • Disabeling "export contacts" for regular users
Pages: [1]

Author Topic: Disabeling "export contacts" for regular users  (Read 1239 times)

NicolasConte

  • Guest
Disabeling "export contacts" for regular users
November 15, 2010, 04:25:13 am
hi

what the best way to disable options like "export contacts" for normal users? only admins should be able to do that.

thanks
conte

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Disabeling "export contacts" for regular users
November 15, 2010, 10:06:50 pm
I think we you remove "view all contacts" permission contact won't be able to access export feature. They also won't be able to search for other contacts.

Kurund
Found this reply helpful? Support CiviCRM

NicolasConte

  • Guest
Re: Disabeling "export contacts" for regular users
November 15, 2010, 11:38:35 pm
hi

that wont work for us. the regular users should just not be able to export data. its kinda strange that this option is not available since this is a major data privacy issue.

thanks
conte

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: Disabeling "export contacts" for regular users
November 16, 2010, 12:00:13 am
i think the idea here is that if you have access to the data for other contacts, then being able to export that data is just an easier way of extracting the data that you already have access to via Adv Search, Search Builder etc. Maybe we aren't getting the full picture of your requirements.
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

NicolasConte

  • Guest
Re: Disabeling "export contacts" for regular users
November 16, 2010, 12:21:26 am
hi

viewing the data and exporting it are two different things.

at least in the european union, and i think it might not be very different in the usa, exporting the entire contact information for all "customers" is prohibited by lawe for "regular" users. therefore this is a major issue for us, because you can get serious troubles if you get caught having this option available for all users.

conte

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: Disabeling "export contacts" for regular users
November 16, 2010, 12:53:13 am
can you explain what you want a 'regular user' to do?
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

NicolasConte

  • Guest
Re: Disabeling "export contacts" for regular users
November 16, 2010, 12:55:44 am
hi

regular users shall have all the options like adding customer, editing customer etc.
but only the "export contacts" options should be disabled.

thanks
conte

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Disabeling "export contacts" for regular users
November 17, 2010, 12:10:55 am
Quote from: NicolasConte on November 16, 2010, 12:21:26 am

viewing the data and exporting it are two different things.

at least in the european union, and i think it might not be very different in the usa, exporting the entire contact information for all "customers" is prohibited by lawe for "regular" users. therefore this is a major issue for us, because you can get serious troubles if you get caught having this option available for all users.


Well from a technical point of view, whatever you have on your screen can be saved as a file and therefore exported, so not that different, eg. why would a list ready to be printed different than a list exported?

What regulation are you referring to in the EU ? They are plenty of laws, but that's mostly about having access to your own contact details (as a contact) and having the right to get them removed/corrected, and what information can be stored (eg. racial information are mostly not allowed to store in France).

Haven't heard about anything about export that has different requirements than view (access). Could you share the details ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

NicolasConte

  • Guest
Re: Disabeling "export contacts" for regular users
November 17, 2010, 12:46:12 am
lets keep this discussion on a technical level. google will help you with the laws for your country. i know that this is binding in mine, so i have to disable this function.

any ideas how to?

regards,
conte

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Disabeling "export contacts" for regular users
November 17, 2010, 01:50:56 am
Hi,

There is a hook to let you alter the list of tasks

http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmsearchTasks

and this chapter should let you know how to do it:
http://en.flossmanuals.net/CiviCRM/DevelopHooks

As for the law, google nor any of the contacts I've had in the European Commission or European Parliament seem to be aware of any EU regulation, let's assume it's specific to your country... and based on my experience, there is quite a few urban legends and folklore around what is required by the law or not around IT, but very little backing it up.  Not saying that all laws make sense, but when it sounds weird, that's more often than not that the legal requirement is not fully understood.

Would be appreciated if you can set the record strait about what are the requirements in your country and share with us ;)

In the meantime, no matter the reason, the hook should let you remove whatever tasks from the list.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Disabeling "export contacts" for regular users

This forum was archived on 2017-11-26.