I am having trouble migrating permissions from drupal6 OG to drupal7 OG with respect to publishing options. My permissions are fine on the global level, which is how they were managed in drupal6. In drupal7 og_moderation gets me publishing options in the og realm, however, they are named differently from their global counter parts, so there is no clear way to map them.

Here you see a section of my global permissions:
global_permissions.png

Here is the og section that differs:
og_permissions.png

I am working on a general plugin for OG to migrate these permissions, but it would depend on hook_og_permission() to return a list that matches the global roles. In the attachments you can see how the global permissions don't line up with the permissions from og_moderation.

I haven't submitted a patch because I am not sure the correct course of action. Am I simply misunderstanding the purpose of og_moderation? Thanks!

CommentFileSizeAuthor
og_permissions.png21.63 KBpgillis
global_permissions.png159.57 KBpgillis
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shenzhuxi’s picture

I'm sorry I just write this module for Drupal7 and didn't think about anything for updating from 6.
Probably you can just enable it after you compete all the updating jobs and set the permission.

pgillis’s picture

Status: Active » Closed (won't fix)

That's fine by me, I'll just write some scripts to migrate the permissions in the database during the upgrade.