Actions
Feature #84622
closedViewHelper f:be.security.ifIsAdmin
Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid
Target version:
Start date:
2018-04-05
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
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
Actions