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 CiviEvent (Moderator: Yashodha Chaku) »
  • Limiting what an authenticated user can see in events
Pages: [1]

Author Topic: Limiting what an authenticated user can see in events  (Read 731 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Limiting what an authenticated user can see in events
December 07, 2010, 02:35:58 pm
Perhaps I'm going about this the wrong way, but here it is...

I would like an authenticated user (Drupal) to be able to register for events using CiviEvents. I used Drupal permissions to give any authenticated user the ability to 'access CiviCRM', 'access CiviEvent', and 'register for events'. When I then login as an authenticated user, I have the ability to add an event and see participant information. Is there a way to limit this? I only want this person to be able to view the event itself and to register.

Thanks

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Limiting what an authenticated user can see in events
December 07, 2010, 08:11:35 pm
'access civicrm'  permission allows to add/edit events. You need to give 'register for events', 'view event info' and 'access all custom data'  to the users, these permissions are sufficient to view all events and register them.
If u want to allow users to view  all participants , you need to allow permissions 'view event participants' and  'view all contacts'.

You may take support of View module to listing events or displaying event related data accordingly.

Rajan   

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Limiting what an authenticated user can see in events
December 08, 2010, 07:02:20 am
I played around with what you said and it worked, although there were some slight complications.

If I remove the 'access CiviCRM' permission then the authenticated user loses the link to CiviCRM. I tried again while keeping that permission and the link was restored. Without the 'access CiviEvent' permission, the link in the upper nav bar for CiviEvent was also gone but the user can still access the event page if I simply link to it and can no longer add events or see any participant information, so that is good.

These are the permissions that I granted an unauthenticated user:

access CiviCRM (without this the user does not have access to the search contacts page)
access all custom data
register for events
view event info

Thats seems to work for now.

Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Limiting what an authenticated user can see in events

This forum was archived on 2017-11-26.