Change record status: 
Project: 
Introduced in branch: 
7.x-3.x
Introduced in version: 
7.x-3.0-beta1
Description: 

Previously, the last module to implement hook_flag_access() would 'win', in that its return value of TRUE or FALSE would be taken as the access value, to grant or deny access to the flag for the user.

This has now changed to follow a more standard pattern:

  • Modules may return NULL to indicate that they are not participating in the access check
  • If any module returns FALSE, access is denied
  • If no module returns FALSE, and at least one module returns TRUE, access is granted
  • If no module returns TRUE or FALSE (i.e. they all return NULL), then Flag core access is used
Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done