stable

Clone or download

Read-only

Deal with project visibility change

This is a part of story #9892: notify group of people in addition to individuals Run forgeupgrade, insert entries in the table plugin_docman_notification_ugroups. You need an item_id and a ugroup_id. Use Dynamic ugroups such as Authenticated, Registered and Anonymous users. When you restrict the visibility of your project: - public incl. restricted => public - public => private Then dynamic ugroups should be restricted - Authenticated => Registered - Authenticated, Registered, Anonymous => Project Members Additionally, when switching public => private - All notifications of users that are not members of the project will be removed Change-Id: I47738e8bfa70e6cf042989abfe75a9eea3c3ff34

Modified Files

Name
M plugins/docman/include/Notifications/NotificationsForProjectMemberCleaner.php +30 −1 Go to diff View file
M plugins/docman/include/Notifications/UgroupsToNotifyDao.php +74 −0 Go to diff View file
A plugins/docman/include/Notifications/UgroupsToNotifyUpdater.php +47 −0 Go to diff View file
M plugins/docman/include/autoload.php +3 −2 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +24 −46 Go to diff View file