Thanks for making this great module.

As i am using you're module with Organic groups and OG user role, i ran into access denied messages for editing and administering.

In a role granted to groupadmins i checked all possible permissions within the petition module.
Creating a petition as well as viewing and signing is not a problem.

However as mentioned, editing and administering gives a denied access message.

Help appreciated

thanks

Comments

held69’s picture

Category: bug » feature

It very good may be that the OG user role module is not able to give acces because the petition node administer pages looses its group context.

Is it true that the local tasks of Petition node do not have OG's query string (?gid=...), so there can be no group context?

VirtualNorman’s picture

I am not sure if this is the same bug or a coincidence, but in 6.x-1.5, some instances of "administer petitions" and "edit own petition" were incorrect in the code.

I just filed a patch here:
http://drupal.org/node/688308#comment-6835980