Task #6599

Implement new syntax for policy resources including runtime constraints

Added by Andreas Förthner over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
Security
Start date:
2010-02-25
Due date:
% Done:

100%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

example of a Policy.yaml:

resources:
  methods:
    Conference_Model_Paper:
      class(F3\Conference\Domain\Model\Paper)
    Conference_Model_UpdateOwnPaper:
      Conference_Model_Paper && method(setTitle()) || method(setDescription(description == 'FLOW3')) && evaluate(this.speaker.person == current.party)

Related issues

Related to TYPO3.Flow - Major Feature #5659: Implement content securityResolvedAndreas Förthner2009-12-07

Actions
#1

Updated by Andreas Förthner over 11 years ago

  • Status changed from New to Accepted
#2

Updated by Andreas Förthner over 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3881.

Also available in: Atom PDF