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 #1

Updated by Josef Glatz over 6 years ago

  • Target version changed from 9.2 to 9.3
Actions #2

Updated by Gerrit Code Review over 6 years ago

  • Status changed from In Progress to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56557

Actions #3

Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56557

Actions #4

Updated by Benni Mack over 6 years ago

  • Target version changed from 9.3 to 9 LTS
Actions #5

Updated by Gerrit Code Review over 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56557

Actions #6

Updated by Gerrit Code Review over 6 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56557

Actions #7

Updated by Gerrit Code Review over 6 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56557

Actions #8

Updated by Gerrit Code Review over 6 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56557

Actions #9

Updated by Susanne Moog about 6 years ago

  • Target version changed from 9 LTS to Candidate for Major Version
Actions #10

Updated by Susanne Moog over 5 years ago

  • Status changed from Under Review to Needs Feedback

@Josef: Will you continue here or can this issue be closed for now?

Actions #11

Updated by Georg Ringer over 4 years ago

  • Status changed from Needs Feedback to Closed

closing this for now

Actions

Also available in: Atom PDF