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 (Moderator: Dave Greenberg) »
  • How to create "read-only" or "view-only" role
Pages: [1]

Author Topic: How to create "read-only" or "view-only" role  (Read 1239 times)

wisco.disco

  • Guest
How to create "read-only" or "view-only" role
March 16, 2010, 01:58:48 pm
Hello,

I'm trying to create a role/acl in which the users assigned to that role cannot edit any contacts.  After reading the docs and playing with drupal roles/perms, I've create a role, assigned it permissions, and even created a drupal user and assigned the user to the "read-only" role.  However, that user can still edit any contact records.  It acts as if the user were an authenticated user, which has edit permissions.

If there's docs or a how-to somewhere, please point me at it. 

TIA! 

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: How to create "read-only" or "view-only" role
March 16, 2010, 04:30:21 pm

all users are authenticated users. So you cannot give the auth user, "edit all contacts" and a specific role "view all contacts". all users would inherit the edit all contacts

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

wisco.disco

  • Guest
Re: How to create "read-only" or "view-only" role
March 17, 2010, 06:18:25 am
Thanks for the response.  So is there any way to achieve a read-only affect with authenticated users?  Perhaps another instance of CiviCRM pointing to the same database but with select only db permissions? (yuk)

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: How to create "read-only" or "view-only" role
March 17, 2010, 07:03:51 am

you can give auth user "view all contacts" i.e. a view role and then u can give some specific users "edit all contacts"

however you

cannot give auth users "edit all contacts" and then restrict specific users with "view all contacts"

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

wisco.disco

  • Guest
Re: How to create "read-only" or "view-only" role
March 17, 2010, 07:35:30 am
alright, I think I get it.  Thanks for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How to create "read-only" or "view-only" role

This forum was archived on 2017-11-26.