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 CiviContribute (Moderator: Donald Lobo) »
  • CiviCRM & Drupal: permission only to add a contribution and pledge
Pages: [1]

Author Topic: CiviCRM & Drupal: permission only to add a contribution and pledge  (Read 1040 times)

Kumar

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.16
  • MySQL version: DK
  • PHP version: DK
CiviCRM & Drupal: permission only to add a contribution and pledge
January 09, 2013, 04:52:46 pm
We have a person designated to enter the offline contributions like checks and cash into CiviCRM. However we don't want him to have full access to CiviCRM components.
We want him to have only these permissions:
1. Search/Update/Add a contact
2. Add a contribution record for a contact record. ( Should not access contact dashboard, previous contributions etc)
    a. Cannot view the contributions he manually entered. If he enters bad data, the admin (has all permissions) will look into it
3. Add a contribution record (contribution made offline by cash or check) to an existing pledge on a contact record

We are uising CiviCRM 4.1 and Drupal 7
We were able to achieve #1 with Drupal permissions but are having trouble with #2.
How can we allow a user role to have permission to only add a contribution record to a contact but not view any contributions for a contact.
« Last Edit: January 09, 2013, 04:57:18 pm by Kumar »

Kumar

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.16
  • MySQL version: DK
  • PHP version: DK
Re: CiviCRM & Drupal: permission only to add a contribution and pledge
January 27, 2013, 01:15:03 pm
As no one has replied to this, do I have to assume no one has had such scenario? Or am I asking too much?


Thanks
Kumar

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM & Drupal: permission only to add a contribution and pledge
January 28, 2013, 03:47:11 am
Quote from: Kumar on January 27, 2013, 01:15:03 pm
As no one has replied to this, do I have to assume no one has had such scenario?

Seems like it.

Quote from: Kumar on January 27, 2013, 01:15:03 pm
Or am I asking too much?

Well your requirements are unusual and non-standard. You want someone to be able to enter data into a "black box" and then not be able to see what he entered.

You could achieve this by writing a custom Drupal module. I think that would be your best bet.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

John Richardson

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
    • Life Challenge of Southeastern Michigan
  • CiviCRM version: 4.5.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.27
  • PHP version: 5.3.13
Re: CiviCRM & Drupal: permission only to add a contribution and pledge
February 26, 2013, 08:49:51 pm
I don't think this is asking too much at all. I am surprised that many, if not most, organizations don't have this requirement. I could also use this for my organization. Our donor records contain sensitive data, so we want to limit access to parts of it to only a few people in the organization. On the other hand we have a great need for data entry by low level staff who should not have access to the sensitive data. We need to allow people to enter data without seeing totals, histories, YTD, etc. Can't this be done.

How is this handled by others? Surely data is entered by people who should not be allowed access to contribution records. >:(
John Richardson

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: CiviCRM & Drupal: permission only to add a contribution and pledge
February 26, 2013, 09:17:29 pm

Might want to also check here:

http://forum.civicrm.org/index.php/topic,27828.msg118716.html#msg118716

since this is currently missing, might be good if you can join forces with sibro and figure out what needs to be done, how it will be done and design, implement and contribute the code back to the project. We can help out on irc as needed. Might also want to check the irc logs:

http://irc.civicrm.org/logs/%23civicrm.log.2013-02-25.txt. some excerpts from there:

Code: [Select]
[19:31] <dgg> ok
[19:31] <sibro> Lobo:  I posted about access to contributions.  I have a number of items I need to enhance in security so I might as well start on something simple. Can you outline what needs to be done.
[19:36] <dlobo> sibro: i think the first thing to do would be to:
[19:36] <dlobo> a. take a look at existing permissions
[19:36] <dlobo> b. take a look at some new workflows
[19:37] <dlobo> c. figure out what new permissions need to be added and how they integrate with item a.
[19:37] <dlobo> d. come back to the forums with a proposal for the changes needed
[19:38] <dlobo> should not take took long, maybe 1-3 hours. seems like, folks need a way to create / edit / view the contributions they enter

Dont think this is asking too much either :)

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

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM & Drupal: permission only to add a contribution and pledge
February 27, 2013, 03:37:20 am
Quote from: ideaman on February 26, 2013, 08:49:51 pm
How is this handled by others? Surely data is entered by people who should not be allowed access to contribution records. >:(

That makes sense to me also. What I had thought was unusual was:

Quote
Cannot view the contributions he manually entered. If he enters bad data, the admin (has all permissions) will look into it

as it seems hard for a person to check his have to enter data and never be able to check his work. How is he supposed to know if he entered bad data?

But perhaps that's how some organizations do it.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

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: CiviCRM & Drupal: permission only to add a contribution and pledge
February 27, 2013, 06:39:35 am

I do think we need permissions like: "create new contributions", "edit my created contributions", "view my created contributions", "search my created contributions"

in general giving a black box: "enter data here and press submit w/o being able to review/edit/fix data you entered does not seem a great workflow, IMO

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

John Richardson

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 0
    • Life Challenge of Southeastern Michigan
  • CiviCRM version: 4.5.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.27
  • PHP version: 5.3.13
Re: CiviCRM & Drupal: permission only to add a contribution and pledge
February 27, 2013, 01:08:56 pm
Yes, I am with you both in spirit. Not being able to fix/edit what was just entered seems too severe. But it does seem like we could have permissions to enter, view and edit contributions without going deep into CiviContribute. Thanks for responding!
John Richardson

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • CiviCRM & Drupal: permission only to add a contribution and pledge

This forum was archived on 2017-11-26.