forked from ezsystems/ezpublish-legacy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for limiting editing of attributes
Content controllers is a new feature for controlling which attributes can be edited by the current user. Each content controller is called when fetching input for an attribute and may deny access to editing that attribute. A content controller is defined by adding the class name to EditSettings/ContentControllers in content.ini. If no controllers are defined then all attributes are allowed as before. The class must then implement the `canEditAttribute` method which accepts the object attribute as the first parameter.
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters