The access argument for invite/add is not defined by Invite's implementation of hook_permission(), so only uid 1 is ever allowed to access it. I suggest changing it to "create any invite entities".

CommentFileSizeAuthor
#3 Img.png58.46 KBrenatog
invite-add-page-permission.patch495 bytesjacob.embree
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jacob.embree created an issue. See original summary.

webgeer’s picture

This works for me. Thanks for the patch.

renatog’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
58.46 KB

Wow man, really makes sense.

The name in hook_permission is create any invite entities

  • RenatoG committed b1828bf on 7.x-4.x authored by jacob.embree
    Issue #2906364 by jacob.embree, RenatoG, webgeer: Incorrect access...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Committed to the dev branch.

Thank you, dudes. Good catch!

Best,

Status: Fixed » Closed (fixed)

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