Project

General

Profile

Actions

Feature #84622

closed

ViewHelper f:be.security.ifIsAdmin

Added by Josef Glatz over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid
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 new f: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

Also available in: Atom PDF