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) »
  • Can I stop users from editing their own contact records?
Pages: [1]

Author Topic: Can I stop users from editing their own contact records?  (Read 449 times)

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Can I stop users from editing their own contact records?
September 19, 2011, 08:35:38 am
I'm setting up a database to be administered by just a couple of people, but with activities being added to contact records by other staff members.

No problem restricting viewing and editing of other records (figured out the ACLs for that), but I don't want the regular staff to be able to edit the groups they're in as this could open up access to records they shouldn't be able to edit.

Make sense?

I'm running version v4.0.5 on a clean Joomla 1.7 install.

Any ideas?

Cheers!

Jason W

  • I post frequently
  • ***
  • Posts: 197
  • Karma: 12
  • jason@civitrainingtutorials.com
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x.x
Re: Can I stop users from editing their own contact records?
October 02, 2012, 10:55:19 am
Hello Ian,

It would help to know how many user groups will be doing the editing, but I've got an idea That might help.

Lets say you have 3 groups:

Group A -  needs to be able to edit all contacts that are not in it's own Group.

Group B - needs to be able to edit all contacts that are not in it's own Group.

Group C - Doesn't edit Contacts

1. Create a Parent group that might be named "Group A can Edit" and insert Groups B and C. Likewise, Create a Parent group called "Group B can Edit" and include groups A and C. Make sure that the groups are of the type "Access Control".

2. Create an ACL Role for Group A and Group B.

3. Add an ACL that allows Group A(role) to Edit(operation) A group of contacts(type of data). Select "Group A can Edit" from the Group dropdown, Enable and save.

4. Repeat step 3 for Group B, substituting "Group B can Edit" where applicable.

Now these groups can edit all of the contacts that are not in their own group.

Warm Regards,
Jason
civiTrainingTutorials
"Helping You Help Others"

Ian G.

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 0
    • Atlantic Coast Theatre
  • CiviCRM version: 4.4+
  • CMS version: Joomla 3+
Re: Can I stop users from editing their own contact records?
October 04, 2012, 02:41:59 am
Hi Jason.

I managed to figure out how to split all the different staff up with ACLs in the end - I may have damaged a few of my brain cells in the process though!!

Cheers,

Ian.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Can I stop users from editing their own contact records?

This forum was archived on 2017-11-26.