Jump to content

Community

Developer Documentation

core/ContentModeratorPermissions

What it is

ContentModeratorPermissions extensions allow your application to add new content item permission options to the moderator configuration area. This extension is very similar to the ModeratorPermissions extension, except that it is specifically designed to allow you to adjust content item permissions.

How to use

This type of extension will need to be created manually by creating the folder and the class within the folder in your application, rather than through the developer center. Once created, you will be able to define the same 3 methods as you would in a ModeratorPermissions extension: getPermissions(), onChange() and onDelete().

The forum application defines such an extension which allows it to rebuild the search index if moderator permissions for forums where only authors can see their own posts are adjusted. This prevents moderators from being able to see topics posted by other users if they should not be able to.


  Report Document


×
×
  • Create New...