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) »
  • Restricting Edit Access to Notes
Pages: [1]

Author Topic: Restricting Edit Access to Notes  (Read 812 times)

pdiggins

  • Guest
Restricting Edit Access to Notes
February 01, 2010, 02:24:40 pm
I am looking for a way to lock-down notes so that only the originator of the note or the admin can alter the note in any way.
Is this possible?
Paul Diggins
Airedale Terrier Rescue & Adoption

Michał Mach

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
    • civicrm.org
Re: Restricting Edit Access to Notes
February 01, 2010, 03:09:56 pm

currently no. Would be good to get more granular permissions on CiviCRM objects (notes, activities, addresses etc). If you are interested in developing and/or sponsoring this please contact us on IRC

lobo

pdiggins

  • Guest
Re: Restricting Edit Access to Notes
February 01, 2010, 04:11:05 pm
That is what I thought but it was worth asking the question.
Thank you
Paul

JoopSJ

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 2
Re: Restricting Edit Access to Notes
February 02, 2010, 04:31:03 am
I need this as well and will problably be implementing it shortly.
I don't think it should be very hard.
In civicrm_notes you will find the contact_id of the owner of the Note.

In the class you can test and see if the editor == owner and allow the operation.
So you will have to override the Class.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Restricting Edit Access to Notes

This forum was archived on 2017-11-26.