Task #6599

Implement new syntax for policy resources including runtime constraints

Added by Andreas Förthner over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-02-25
Priority:Must have Due date:
Assigned To:Andreas Förthner % Done:

100%

Category:Security
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8
Sprint: Has patch:
PHP Version: 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 security Resolved 2009-12-07

Associated revisions

Revision a8cc2883
Added by Andreas Förthner over 5 years ago

[+FEATURE] FLOW3 (Security): Implemented runtime evaluations support for policy resources. Resolves #6599, relates to #5659
[~TASK] FLOW3 (Security): Removed the old privileges concept. Now there is only one (implicit) access privilege. Resolves #6600, relates to #5659

History

#1 Updated by Andreas Förthner over 5 years ago

  • Status changed from New to Accepted

#2 Updated by Andreas Förthner over 5 years ago

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

Applied in changeset r3881.

Also available in: Atom PDF