Skip to main content

Technical reference

The Watch plugin extends Brightspot CMS with content watching capabilities, letting users monitor assets for changes and control who can manage watchers on behalf of other users.

Installation​

<!-- Requires Brightspot 4.8 or later. -->
<dependency>
<groupId>com.brightspot.watch</groupId>
<artifactId>watch</artifactId>
<version>2.2.0</version>
</dependency>

API reference​

ManageWatchersPermission​

com.psddev.cms.watch.ManageWatchersPermission is an AdditionalPermission that gates the ability to add or remove watchers on behalf of other users. It appears under a role's Additional Permissions in the Tool Role editor.

MemberDescription
MANAGE_WATCHERS_IDThe permission ID (manage_watchers) checked by hasPermission(String).
isManageWatchers()Returns whether the permission is granted.

Manage Watchers permission and upgrading​

Where the Manage Watchers permission lives, and whether it requires this plugin, depends on the Brightspot core version:

Brightspot versionManage Watchers locationRequires this plugin
4.5.xNot available.N/A
4.7.0–4.7.32Built into Brightspot core, under a role's UI permissions.No
4.7.33 and laterProvided by this plugin, under a role's Additional Permissions.Yes, v1.0.1 or later
4.8.0–4.8.11Built into Brightspot core, under a role's UI permissions.No
4.8.12 and laterProvided by this plugin, under a role's Additional Permissions.Yes, v2.0.0 or later
5.0.xProvided by this plugin, under a role's Additional Permissions.Yes, v2.0.0 or later
note

The Manage Watchers permission was not available before Brightspot 4.7.3, and Brightspot core never included it in the 4.5.x line.

warning

If you're upgrading from a version where Manage Watchers was built into core (4.7.0–4.7.32 or 4.8.0–4.8.11) to a version where it isn't, add this plugin as a dependency at the version listed above, then re-grant the permission to any affected roles under Additional Permissions. The permission does not carry over automatically.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.