Class ResourceGuardFactory

All Implemented Interfaces:
Direct Known Subclasses:

@Component public class ResourceGuardFactory extends AbstractEntityDocsGuardFactory
GuardFactory for entity document resources (Resource entities which are attached to another entity (or field)). There are no ACL rules for these entities. In general, if a user may read or write the related entity (and field) he can also read or write (and delete) the attached resource. Some additional conditions are checked as well (like mail_box). This handles both entities and EntityPath of entitydoc resources.