Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuaelFr’s picture

Assigned: DuaelFr » Unassigned
Status: Active » Needs review
FileSize
1.18 KB

To allow the administrator to choose how he wants his invitations to be managed, I add a permission related to this feature.

This patch is part of the #1day1patch initiative.

DuaelFr’s picture

Title: Allow to resend an unexpired invitation » Improve access to resend feature
FileSize
2.19 KB

There is a better approach using the menu item's access callback.
I hope you will enjoy.

DuaelFr’s picture

I forgot a part of the first patch in the second one.
Here is the final working patch.

DuaelFr’s picture

This new patch adds two new permissions to manage who can resend own invitations and who can resend any ones.
It keeps the permission introduced in the previous patch to allow to resend unexpired invitations and clarify its usage with an improved description.

  • DuaelFr authored 8ee1130 on 7.x-4.x
    Issue #2088487 by DuaelFr: Improve access to resend feature
    
ckng’s picture

Issue summary: View changes
Status: Needs review » Fixed

Thanks for the code. Committed to dev.

Status: Fixed » Closed (fixed)

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