Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After updating to version 7.x-1.5, all my event registrations give "access denied" since none of the new permissions get assigned to any roles - even those who were previously allowed to register.
There should be a hook_update that assigns the new permissions as applicable in order to preserve backwards compatibility.
Comments
Comment #2
AaronBaumanSomething like this
Comment #3
bkno CreditAttribution: bkno commentedRealised today that registrations had not been working for a few days as a result of this...
For anyone else wondering why their registration button isn't appearing, add the new "Create new registration" and "Register self" permissions to your user role(s).
Comment #4
KingdutchThe patch in #2 will fail if the user already fixed the permissions themselves (Which is what I had done before trying this patch).
The attached patch fixes this.
Comment #5
Den Tweed CreditAttribution: Den Tweed commentedPatch in #4 was failing against newest codebase, also removed the unused registration_permission_list call
Comment #6
Chris Matthews CreditAttribution: Chris Matthews commentedThe patch in #5 is 3 years old, but still applied cleanly to 7.x-1.x-dev. Although this patch is probably not needed anymore, it would preserve backwards compatibility so changing the status to RTBC.
Comment #8
gcb