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) »
  • Permissions problems with registration
Pages: [1]

Author Topic: Permissions problems with registration  (Read 1277 times)

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Permissions problems with registration
October 07, 2008, 02:00:04 pm
Hi -

I'm running CiviCRM 2.1 on Drupal 6.whatever, and I need a little help with permissions.

I set up an event and need registration available to unregistered users.  In fact, Drupal user self-registration is disabled.

Per the documentation, I have permissions set to allow the following for anonymous users:
- Access all custom data
- Profile listings and forms (I'm using a custom profile)
- Register for events
- View event info

With these permissions, anonymous users get a "You are not authorized to access this page" when they hit the registration link.

The only way I can give anon users access to the event is to add "access CiviEvent" to their list of permissions, but that gives them the ability to manage events(!).

Any idea what I'm doing wrong?

Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Permissions problems with registration
October 07, 2008, 03:17:37 pm
Your permissions are fine. The problem is that the link is URL encoded.

Your link URL looks like this when I click it:
Code: [Select]
http://www.tnfairhousingmatters.net/?q=civicrm/event/register%26id%3D4%26reset%3D1

It should look like this (which works as anonymous - just tried it):
Code: [Select]
http://www.tnfairhousingmatters.net/?q=civicrm/event/register&id=4&reset=1

I'm a bit surprised that this is happening from your menu link. I have done some testing w/ menu links in Drupal 6 and it seemed like the problem of erroneously url-encoded links was solved. Is it possible that you input the link with the character encoding (e.g. "%3D" instead of "=") ??
Protect your investment in CiviCRM by  becoming a Member!

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Permissions problems with registration
October 07, 2008, 05:55:02 pm
I pasted the link into the Drupal menu the same way it showed up in my address bar, and it shows up correctly when I edit the menu item.  For some reason it does that encoding thing when you click on it.

Is this a Drupal issue, then?


Thanks!
« Last Edit: October 07, 2008, 05:57:03 pm by tmccartney »

tmccartney

  • I post frequently
  • ***
  • Posts: 154
  • Karma: 9
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.34-cll-lve
  • PHP version: 5.3.28
Re: Permissions problems with registration
October 07, 2008, 09:47:10 pm
Okay, just a follow-up, in case it helps someone else - once I put the FULL URL in the menu, Drupal stopped encoding it, and it works fine now.

Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Permissions problems with registration

This forum was archived on 2017-11-26.