og_vocab.module uses outdated 'administer groups' permission.

this should be updated to 'administer organic groups'

CommentFileSizeAuthor
#3 og_vocab-719480-3.patch494 bytesAgileware
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chris Johnson’s picture

If it's outdated, it must be really old. I just checked a 4.7 core compatible version of the OG module and even it uses 'administer organic groups'. Perhaps og_vocab was never correct?

apollonet’s picture

To correct this, just change line 273 in og_vocab.module :

    if (user_access('administer groups')) {

By :

    if (user_access('administer organic groups')) {
Agileware’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
494 bytes

Confirmed this is a bug and the correct fix. Patch attached.