Download & Extend

Cannot grant "Create content" permissions with OG User Roles

Project:OG User Roles
Version:5.x-1.5
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

I'm playing with Organic Groups in a test site.

I want to use OG User Roles to provide roles only when members are in a particular group, or different roles in each group.

I've created a role with create page permissions. The user has no create permissions anywhere but in the group suing OG User Roles. So when she enter the group, the Create Content menu appears. That's fine, but when she select that option Drupal says she has no permission to acces that page; and neither she has to access ?q=node/add/page

Thank you very much.

Comments

#1

Title:Create content permissions with Organic Group User Roles» Cannot grant "Create content" permissions with OG User Roles

I've got the same thing. Editing title to hopefully more clearly describe the problem. Specifics follow:

I've created a role called "test", and a user called "testuser." A content type called "og_test" is my group node type, and content type "blog entry" has been set to "standard group post"

Test role has permissions to "create blog entries" and "edit own blog entries." "Testuser" user belongs to no roles outside of OGUR.

In /admin/og/og_user_roles I've set the "test" role to be an assignable role and the role to use as a default basic group role for users who join og_test groups.

Then I created a group of type og_test. I titled it "Group Page"

I logged in with a second browser as testuser and went to Group Page. I joined that group. Back in admin user, I looked at the "Configure member roles" page for this node and saw that my test user is in fact has the test role.

Back in my testuser account I went to node/add and got "Access denied". Same for node/add/blog.

I tested with yet another user assigned to role "test" the old fashioned way. node/add shows "Blog Entry" and node/add/blog shows a form. If that user is subscribed to the "Group Page" that checkbox appears under "Audience."

"Garland" theme, the only non-core modules enabled are: Content, OG User Roles, OG, OG Access Control, OG Views Integration, Views, and Views UI. I've cleared my caches and logged in and out of the user.

I'm thinking I must have missed something very basic. Any ideas what?

#2

Yes, it was something basic. Can't get there from regular node/add links. Have to enable the "Group Details" block in order to get at the correct links, which look like node/ognodeadd?type=blog&gids[]=xxxx where xxxx is the node id for the group.

#4

Version:6.x-1.5» 6.x-4.x-dev

I'm having this issue on 4.x, and node/ognodeadd has been removed.
How is it supposed to work on 4.x?

#5

Version:6.x-4.x-dev» 5.x-1.5

Figured out this is a conflict with shorturl.
Carry on then.

nobody click here