Available registrant-type check should be done before hook_registration_access, and before all other access checks as its priority over controlling access is higher than any other. For example: An implementing module may return TRUE when a user has no registration-types, it would then be pointless to display registration_form.

CommentFileSizeAuthor
reprioritise-registrant-type-check.patch2.45 KBdpi

Comments

levelos’s picture

Component: Code » Registration Core
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

  • levelos committed 341bab1 on 7.x-1.x, panels, any-entity, slots, integrations, hold_state authored by dpi
    #1528398 by dpi: Re-prioritise available registrant-type check in...