Task #6599
Implement new syntax for policy resources including runtime constraints
| 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
Associated revisions
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.