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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Limiting Access to Tabs and Actions
Pages: [1]

Author Topic: Limiting Access to Tabs and Actions  (Read 1373 times)

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Limiting Access to Tabs and Actions
June 25, 2013, 10:59:43 pm
I am now planning to let my members have access to their own data- View and Edit.

I have created a Drupal Role named "Members" and have restricted some access. But:

1) "Activites", "Change Log", Notes, Groups, Tags Tab are still seen for Members(which is a Drupal Role). How to restrict this?
If I disable these in settings(Display Preferences) then it is not seen even to administrator

2) The "Actions" Button and functionality should not be seen. I do NOT want my members to schedule meetings and do some other 'Activities'.
Restricting it completely is a quick solution. But I do not know how to do that.

A better thing would be to allow the Members limited access to "Actions".
For example they can send an email through CiviCRM but not Schedule Meeting.
  And even the access to email templates should be restricted. This would be great.
But if that is not possible then restricting 'Actions' completely will do.

Please suggest.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Limiting Access to Tabs and Actions
June 26, 2013, 12:10:16 pm
It would be more usual to let contacts view/edit their details via profiles (and/or webform_civicrm) rather than by accessing civicrm directly
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Limiting Access to Tabs and Actions
June 26, 2013, 08:49:22 pm
Thanks petednz.

Yes using Webform_civicrm allows a better control for Edit.
And Drupal Views can be used to display profile for View

1) One challenge in that approach, I think, will be allowing to edit the data (contact's information) of Permissioned Relationship through Webform_civicrm

If I use this approach, Contribution too will have to shown using Drupal Views.

2) The user interface for display "View" of user profile using Drupal Views will not be as neat by default as it is with accessing civicrm directly.
Any suggestions on improving the default view.  May be Drupal Quick Tabs https://drupal.org/project/quicktabs can help. Any other suggestion on this is appreciated.


petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Limiting Access to Tabs and Actions
June 26, 2013, 09:10:09 pm
not clear what you mean as default - ah having a bunch of tabs across eg at /user

You can give them a My Details block that shows at /user plus on other paths

and have links in that block (or use a menu block) to link to Contributions / Relationships etc

but don't forget civi also has the contacts dashboard at civicrm/user?reset=1
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: Limiting Access to Tabs and Actions
June 26, 2013, 09:46:42 pm
Quote
not clear what you mean as default - ah having a bunch of tabs across eg at /user
Yes. The bunch of tabs.

Quote
You can give them a My Details block that shows at /user plus on other paths
Could not understand where is the My Deails block. Did you mean the one generated using Drupal Views?

Quote
but don't forget civi also has the contacts dashboard at civicrm/user?reset=1
It looks neat. Cons: Custom Data are not shown when "Edit Contact Information" for Relationships.
Anyways, I am going ahead with webform_civicrm and Drupal Views.

Just need help in identifying how to Theme Druapal Views.
For now I think, I will use quick tabs.
Seems the Display Suite is a good thing to try.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Limiting Access to Tabs and Actions
June 27, 2013, 11:52:35 am
I meant 'make a My Details' block and suggested you could do so by making a Menu and using the menu block. Otherwise just put links in a block. I assume you are using the Drupal 'filter to current user' in the view, via the View Relationship that links Civi contact to Drupal User.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Limiting Access to Tabs and Actions

This forum was archived on 2017-11-26.