Feature #9968

Promote security publishing configuration automatically when persisting models

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

Status:
New
Priority:
Should have
Category:
Security
Target version:
-
Start date:
2010-09-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

When we persist a model that holds a file, we should be able to configure its needed publishing configuration in the policy. The can be done on the basis of securit resource, as shown in the following example:

SecurityPublishingConfiguration:
  F3_Blog_Domain_Model_Post_HiddenPosts:
    fileProperty: image
    publishingConfiguration:
      roles: [ Editor, Administrator ]
      expireDate: 2h

This would add a publishing configuration with roles and an expire date to all file objects that are attached to posts that match the F3_Blog_Domain_Model_Post_HiddenPosts security resource (entity resource identifier).


Related issues

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

Actions
#1

Updated by Andreas Förthner over 10 years ago

There is a problem, if a resource object is used (published) before it is persisted. Maybe we should skip this feature?

Also available in: Atom PDF