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 »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • You do not have permission to access this page
Pages: [1]

Author Topic: You do not have permission to access this page  (Read 9651 times)

perlwonk

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
You do not have permission to access this page
October 25, 2008, 05:32:02 pm
 Hi, I'm perplexed. I'm working with a new installation of CiviCRM/Standalone and I'm trying to set up a user to help me add contacts. Here's what I've done so far:

1. Created a group called "Navigator Recruiter"
2. Created a group called "Navigators"
3. Added a new user "Donna", and added her to the group "Navigator Recruiter"
4. Created a openid for her, and checked the "Allow to login" box.
5. Created a ACL Role:  "Portland Navigator Recruiter"
6. Configured the ACL so that role "Portland Navigator Recruiter" can edit members of the group "Navigators".
7. Assigned the role "Portland Navigator Recruiter" to the group "Navigator Recruiter".

Now, when I log in to civicrm as Donna, using her openid, I get this message:

"Sorry. A non-recoverable error has occurred.
You do not have permission to access this page"


What am I missing?

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: You do not have permission to access this page
October 26, 2008, 06:41:06 am

Did u also the give the ACL role "Portland Navigator Recruiter" the "access CiviCRM" permission?

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

perlwonk

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Re: You do not have permission to access this page
October 26, 2008, 08:16:45 am
I don't see how to grant civicrm access permission to a ACL role other than the core ACL roles. Other than that I can only see how to grant it to individuals.

I think I got it working though. Here's what I did:

1. Clicked "Administer CiviCRM"
2. Clicked "Access Controll"
3. Clicked "Manage Core ACL's"
4. Clicked "Edit" on Authenticated
5. Checked "Access CiviCRM" (it was unchecked)

And that did it! Is that what you meant? Is that what I'm supposed to do? Did I open the door to bad guys?

Thanks for your help. -- Chuck

perlwonk

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Re: You do not have permission to access this page
October 26, 2008, 10:56:56 am
Well, it's still not working right. I granted civicrm access rights to the 'Authenticated' role, but the user still can't add or edit contacts unless I also grant edit contact privileges to the 'Authenticated' role. But, doing this grants too much access. She can create administrators. It's just not usable as it is.


-- chuck

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: You do not have permission to access this page
October 26, 2008, 11:07:15 am

1. can u grant "access civicrm rights" to the "Portland Navigator Recruiter"  role?

2. What happens when u create a new ACL? Does it display the "Portland Navigator Recruiter" role? If so, can you assign "access civicrm" to that role? Does that work?

3. This is relatively new code, so there is a decent chance there is a bug here. If it still does not work, please file an issue with the steps and we'll try to reproduce and fix in the next couple of weeks

4. creating a new forum topic for the same issue is not recommended

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

perlwonk

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Re: You do not have permission to access this page
October 27, 2008, 09:01:24 am
How would I grant "access civicrm rights" to the "Portland Navigator Recruiter"  role? I don't see how to do it.

When I create a new ACL, it does display the "Portland Navigator Recruiter" role, I haven't seen that as a problem.




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: You do not have permission to access this page
October 27, 2008, 09:17:11 am

on a screen similar to this in your install:

http://drupal.demo.civicrm.org/civicrm/acl/basic?action=add&reset=1

you can mark the role as "Portland Navigator Recruiter" and then check "access CiviCRM"

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

perlwonk

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Re: You do not have permission to access this page
October 27, 2008, 11:48:32 am
Got it. On the standalone version it's:
Administer CiviCRM -> Access Control -> Manage Core ACLs -> Any Role (Edit), then select the role.


... But I still have a problem. A "Portland Recruiter" still can't I still can't add contacts.  I've checked "access CiviCRM" for the "Portland Navigator Recruiter" role, and I've defined the ACL thus:

Operation: Edit
Type of Data: A group of contacts (Portland Navigators)
Role: Portland Navigator Recruiter
Enabled: checked

The "Portland Navigator Recruiter" role is assigned to members of the group "Portland Recruiter"
I would have expected that anyone in the group "Portland Recruiter" could log in to civicrm, then add a contact, and that contact would be in the group "Portland Navigators"

That's my intention anyway, but it doesn't seem to work that way.

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: You do not have permission to access this page
October 27, 2008, 12:15:19 pm

can you please file an issue. we'll take a look at it in a week or so from now

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

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: You do not have permission to access this page
October 30, 2008, 04:21:55 pm
Quote from: perlwonk on October 27, 2008, 11:48:32 am
... But I still have a problem. A "Portland Recruiter" still can't I still can't add contacts.  I've checked "access CiviCRM" for the "Portland Navigator Recruiter" role, and I've defined the ACL thus:

To add contacts, you'll need to give the portland recruiter the "add contacts" permission

Quote from: perlwonk on October 27, 2008, 11:48:32 am
The "Portland Navigator Recruiter" role is assigned to members of the group "Portland Recruiter"
I would have expected that anyone in the group "Portland Recruiter" could log in to civicrm, then add a contact, and that contact would be in the group "Portland Navigators"

That's my intention anyway, but it doesn't seem to work that way.

when adding a contact the portland recruiter would need to add the contact to the groups he/she has permission to. The list of groups and tags is available at the bottom of the Edit Contact screen. This is not ideal but the system is setup that way for now.

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • You do not have permission to access this page

This forum was archived on 2017-11-26.