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) »
  • Problem CiviEvent menu visibility / permissions
Pages: [1]

Author Topic: Problem CiviEvent menu visibility / permissions  (Read 845 times)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Problem CiviEvent menu visibility / permissions
July 01, 2010, 04:40:12 am
Hi there,

There seems to be a mismatch between the CiviCRM menu visibility and actual permissions when it comes to event management.

# New Event
# Manage Events
# Event Templates
# New Price Set
# Manage Price Set

The above options require Administer CiviCRM and Access CiviEvent to be visible in the menu, but you can actually access them with the URL even if you don't have Administer CiviCRM permissions.

I'm happy to submit a patch to fix this (please can you remind me how to work out which version to sumbit the patch against?) once we have worked out what the correct permissions should be.  Where is it I go in the code to find out what the actual permission to access this page is?
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem CiviEvent menu visibility / permissions
July 01, 2010, 04:47:10 am
Quote
The above options require Administer CiviCRM and Access CiviEvent to be visible in the menu, but you can actually access them with the URL even if you don't have Administer CiviCRM permissions.

You don't need to hack the code. You can change the permission via UI.

http://drupal.demo.civicrm.org/civicrm/admin/menu&reset=1

The edit each menu, for eg: http://drupal.demo.civicrm.org/civicrm/admin/menu?action=update&reset=1&id=49

HTh

Kurund
Found this reply helpful? Support CiviCRM

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Problem CiviEvent menu visibility / permissions
July 01, 2010, 04:49:40 am
i know dude! i sorted this on the local site, but there is still a bug that i want to fix for you.  people with the permission to manage events can't see that in their menu because the menu permissions are set wrong
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem CiviEvent menu visibility / permissions
July 01, 2010, 04:50:56 am
Ya, sorry I misread your post, I think we have done some work to fix permission in 3.2, but not sure.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Problem CiviEvent menu visibility / permissions

This forum was archived on 2017-11-26.