Skip to content

Commit 1e80092

Browse files
committed
limit plan update notifications to allowed users
1 parent 1764005 commit 1e80092

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

connect/events-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ const EVENTS = [
160160
}, {
161161
type: BUS_API_EVENT.CONNECT.PROJECT_PLAN.MODIFIED,
162162
projectRoles: [PROJECT_ROLE_OWNER, PROJECT_ROLE_COPILOT, PROJECT_ROLE_MANAGER, PROJECT_ROLE_MEMBER],
163+
includeUsers: 'allowedUsers'
163164
}, {
164165
type: BUS_API_EVENT.CONNECT.PROJECT_PLAN.PROGRESS_UPDATED,
165166
projectRoles: [PROJECT_ROLE_OWNER, PROJECT_ROLE_COPILOT, PROJECT_ROLE_MANAGER, PROJECT_ROLE_MEMBER],
@@ -199,6 +200,7 @@ const EVENTS = [
199200
}, {
200201
type: BUS_API_EVENT.CONNECT.PROJECT_PLAN.TIMELINE_ADJUSTED,
201202
projectRoles: [PROJECT_ROLE_OWNER, PROJECT_ROLE_COPILOT, PROJECT_ROLE_MANAGER, PROJECT_ROLE_MEMBER],
203+
includeUsers: allowedUsers
202204
}
203205
];
204206

0 commit comments

Comments
 (0)