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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Community Sponsored Improvements (Moderator: Donald Lobo) »
  • Edit with Approval
Pages: [1]

Author Topic: Edit with Approval  (Read 1683 times)

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Edit with Approval
February 22, 2012, 05:56:59 pm
I brought this up a while back, but we have a need for allowing some people to edit contact records with approval required at the head office before changes are committed to the DB.

We can probably provide some funding for it - although not a large amount at present.

Would there be larger interest from the CiviCRM community in this feature?

I'm still learning how to add-on to CiviCRM core, but I'm thinking as a starting point that users with certain ACL permission levels would make changes to a parallel set of custom fields. A post_hook would notify head office, who would then view these new custom fields side by side old core fields in a profile, before hitting 'Commit' to transfer these from custom fields to core fields.

I am probably not thinking of that in the most efficient way - but that's the level I am at right now. The above I could probably do myself with some time.

Brian

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Edit with Approval
February 22, 2012, 06:04:15 pm
Hi,

Might be easier to "abuse" the log system and introduce a new "to be approved" status, save the contact as a "kind of previous" version and once approved "restore" it as the current one.
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Edit with Approval
February 22, 2012, 07:27:06 pm
Interesting idea - I don't have logging turned on my site at the moment, so I haven't played around with it (yet).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Community Sponsored Improvements (Moderator: Donald Lobo) »
  • Edit with Approval

This forum was archived on 2017-11-26.