When there is a node type and group type with the same machine name, both submodules try to set the permission "create TYPE".

Proposed solution:

  • Append "node" and "group" respectively
  • Notify users they may have to reset some permissions

Comments

kristiaanvandeneynde created an issue. See original summary.

kristiaanvandeneynde’s picture

Status: Active » Fixed

Creating a release to kill off this bug asap. Adding notification to release notes.

Pete B’s picture

Priority: Normal » Major
Status: Fixed » Needs review
StatusFileSize
new3.49 KB

Hello,

This release has updated the permissions, but not things that reference those permissions.

e.g.

gnode.module line 277

        $has_access = $has_access || group_access("view $node->type", $group, $account);

Patch attached to fix this.

Thanks,
Pete

kristiaanvandeneynde’s picture

Status: Needs review » Fixed

Wow, can't believe I missed that! Thanks!

Pete B’s picture

Status: Fixed » Needs review
StatusFileSize
new847 bytes

Sorry, there were a couple more too! They didn't show up in my search of the module.

kristiaanvandeneynde’s picture

Status: Needs review » Fixed

People are going to be be annoyed with all these releases :/

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.