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) »
  • How to control access to "Actions" menu
Pages: [1]

Author Topic: How to control access to "Actions" menu  (Read 2278 times)

curufinwe

  • Guest
How to control access to "Actions" menu
May 16, 2007, 09:29:24 am
Hi, I've searched the documentation with no luck.  Perhaps someone know this off the top of their head, or can point me to the right resources to answer this.

When viewing a list of contacts that are the result of an advanced search, the "- more actions" menu appears at the top of the listing.  There are all kinds of options which trigger actions on the selected contacts.  How do we control which users see what in this menu?  Where are these permissions configured? 

I specifically am looking for how to restrict access to these actions:
- send email to contacts
- mailing labels from contacts
- export contacts


Many thanks,

Ryan
Quixote Center

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How to control access to "Actions" menu
May 16, 2007, 11:33:00 am
Ryan - There is currently no way to granularly control access to these Actions without modifying the code. The ones you've listed are considered to be "read" and not "edit" actions - and are granted as a set to users with "View Contact" permissions.

Of course you can use the Access Control List feature to limit WHICH contacts a particular user can "view".

If you want to modify the code to simply remove one or more of these options from users who are restricted to "View Contacts" - let us know and we can point you to the file(s) to change.
Protect your investment in CiviCRM by  becoming a Member!

curufinwe

  • Guest
Re: How to control access to "Actions" menu
May 16, 2007, 12:34:38 pm
Thanks for the information Dave.  We're using ACLs and Drupal permissions pretty extensively already.  This was the only hole in the net, as there are folks who need access to the data, but shouldn't be able to get in touch with these contacts in a mass way.  I'd love to get a pointer on where to edit to remove those options.

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 control access to "Actions" menu
May 16, 2007, 03:02:44 pm

Ryan:

Check CRM/Contact/Task.php

u can return various task items based on user id / role etc

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How to control access to "Actions" menu

This forum was archived on 2017-11-26.