#84622ViewHelper f:be.security.ifIsAdmin
Description
Description
As an integrator it’s often useful to have a VH to check if the current backend user is an admin or not.
I personally use this mostly for backend previews of content elements in the page module.
ToDo(s)
Introduce a newf:be:security related ViewHelper
- next to existing ViewHelpers: IfAuthenticated and IfHasRole
- with name
IfIsAdmin.
Acceptance Criteria
- Introduce new VH
- Add unit test for new security related VH
- Add Feature RsT