Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We installed the Ideation feature to our open atrium intranet site. It works great from within the user profiles but when you try to add an idea from any group we get an access denied. We have also tried to add it from our user profile and assign it to a group but when we go to that group and search the idea tab, it is empty.
We would like to have the ideas/suggestions grouped by the open atrium groups. So that each department could make suggestions as it relates to their own department/group. Is that a possibility? Any help would be appreciated.
Comment | File | Size | Author |
---|---|---|---|
#7 | Capture.JPG | 148.02 KB | KarlisK |
#5 | ideation-create-idea-group-access-denied-1432924-0.patch | 1.14 KB | pedrorocha |
Comments
Comment #1
luissaavedra CreditAttribution: luissaavedra commentedI've checked the permissions file.inc and all the settings seem to be the same for idea_site and idea_group. Not sure why they give different results.
Comment #2
omahacatalyst CreditAttribution: omahacatalyst commentedI've identified the issue, however, the workaround is a bit obtuse...
When you click "Add Idea" within a group you'll see the button text changes to "Add Idea (group)," upon clicking the link the page that loads is something like "yoursite.com/?q=groupname/node/add/idea-group" however, when you click "Add Idea" in the initial user profile the page that loads is something like "yoursite.com/?q=node/add/idea-site," notice the end URL is "idea-site" not "idea-group"
As a workaround navigate to yoursite.com/?q=groupname/node/add/idea-site you should now be able to add an idea for that specific group, however, it will show up in the general user profile page if that is activated, also the voting doesn't show up in the group feature. As a workaround you can manually add a link using a custom dashboard widget box. If I identify the code source for the "Add Idea (group)" button link I'll pass it along, I'll also put in a feature request.
Comment #3
zulfierken CreditAttribution: zulfierken commentedIs there any patch to solve this issue?
Comment #4
Fidelix CreditAttribution: Fidelix commentedThis is really critical. Makes the module useless on OpenAtrium.
Comment #5
pedrorocha CreditAttribution: pedrorocha commentedFor some reason, the node form isn't aware of the OG Space, unlike the menu item, that runs smoothly.
To solve it, i'm checking if the user are inside of a group with the OG module API itself.
Maybe there are some better way to make it, but this patch above will solve this issue.
Comment #6
erasmosis CreditAttribution: erasmosis commentedI'm getting the same experience. I've checked all the permissions and it looks like its a problem for a lot of us.
Comment #7
KarlisK CreditAttribution: KarlisK commentedSame issue here with access denied when attempting to create an idea in ideation within a group. Fresh OpenAtrium installation with only Ideation and OA Folders added on.
Comment #8
bhosmer CreditAttribution: bhosmer commentedThe patch from #5 solves this problem. I am going to promote it to reviewed and tested.
Comment #9
erasmosis CreditAttribution: erasmosis commentedHow do I apply this patch?
Comment #10
bhosmer CreditAttribution: bhosmer commentedCheck this guide out: http://drupal.org/documentation/git
Comment #11
OnthegOinOz CreditAttribution: OnthegOinOz commentedHi,
I tried this patch but I get an error:
Parse error: syntax error, unexpected T_IF in /home/ACCOUNT/public_html/projects/demo/sites/all/modules/features/ideation/ideation.module on line 60
This is the code that I entered:
Comment #12
hanniff CreditAttribution: hanniff commentedI am beginning that this bug is related to some code which needs to be reworked, or disabled, firs of all, creating a new idea works at the user level, when the user is not in a group. this can be seen when you log in as an ordinary user, and post a new idea, however, when you enable the idea feature in a group and attempt to post an idea in the group, then you get the unauthorised page, .... very weird, I have checked and rechecked permissions, and those seem not to be able to fix the problem. so as a fix, i am disabling ideas at the group level, and allowing them to post an idea at an individual level.