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) »
  • Permission to create Event in CiviEvent
Pages: [1]

Author Topic: Permission to create Event in CiviEvent  (Read 2160 times)

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Permission to create Event in CiviEvent
September 02, 2007, 02:22:50 pm
Is there a way to allow an authenticated user to create/manage an event without giving CiviCrm Administrator privilege? I am using CiviCrm within Drupal. I am new to CiviCrm. Thanks is advance.

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: Permission to create Event in CiviEvent
September 02, 2007, 02:42:05 pm

No. You will have to tweak the permissioning code in CRM/Event/Menu.php and loosen the permissions a bit if needed

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

kdas

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Permission to create Event in CiviEvent
September 02, 2007, 08:28:55 pm
Thanks so much for your prompt reply.

keitha

  • Guest
Re: Permission to create Event in CiviEvent
September 02, 2007, 09:38:43 pm
Hi

This would be a blocker issue for us. Creating events should definitely be a 'user' action and not an 'administrator' action.
Was there a specific design decision why this was implemented this way?

Modifying the php code seems like a workaround in this case. What would happen when we upgrade to 2.0 - do we have to remember to modify the php code again?

Is it possible to log improvement requests such as this in Jira, or is it a case of 'please fix and submit your patch'?

Regards
Keith

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: Permission to create Event in CiviEvent
September 03, 2007, 12:17:55 am
CiviCRM Events are fairly "heavy" weight objects. An online event registration form, could potentially involve civicrm profiles (hence custom data) and a payment processor, which are also admin related actions. Thus it did not make sense to make it a "user" action

I'd probably recommend creating a "simplified" create event interface and exposing that to a "user". A simplified event could have a lot of the features hidden / set to a system wide default value. Can u elaborate more on your use case

This is a case of please file a patch along with your issue :)

lobo
« Last Edit: September 03, 2007, 12:20:33 am by Donald 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

bchoc

  • Guest
Re: Permission to create Event in CiviEvent
January 21, 2008, 09:21:53 pm
At my org. there are program staff who should be entering events themselves.  I realize this means they have somewhat significant power, but to give them full Admin Access would allow them to -- probably accidentally -- hose the system.  Easily.   ::)

http://wiki.civicrm.org/confluence/display/CRMDOC/Default+Permissions+and+Roles

I appreciate that the permissions aren't as described in the documentation, but a separate "Create/Manage Events" permission may be necessary for CiviEvent to be functional in many orgs. where technical staff do not want programmatic or administrative staff having administrative access.

bchoc

  • Guest
Re: Permission to create Event in CiviEvent
January 21, 2008, 10:21:31 pm
That said, editing /CRM/Event/Menu.php to adjust permissions for these things is very easy.  Didn't get me the handy "Configure" link, but good enough!

On a tangent, I tried to change access for the ical and feeds and whatnot in this file, but it didn't work.  If I want anonymous access to view the list of events, but not register for them, can anybody tell me where would I make that change?

bc
« Last Edit: January 21, 2008, 10:25:31 pm by bchoc »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Permission to create Event in CiviEvent

This forum was archived on 2017-11-26.