Details
-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
None
-
Severity 2 - Major
-
Description
A ProjectPermissionModificationRequestedEvent is not raised when changing the default permission of a project from "No Access" to something else.
Steps to reproduce
- Create a project and set the default project permission to "No Access".
- Add an event listener (e.g. to a plugin) which listens to ProjectPermissionModificationRequestedEvent and logs a message when the listener is triggered.
- Change the default project permission from "No Access" to something else (e.g. PROJECT_READ).
Expected
A ProjectPermissionModificationRequestedEvent is raised (and a message is logged via the event listener).
Actual
No ProjectPermissionModificationRequestedEvent is raised (and no message is logged via the event listener).
Note changing the default project permission from PROJECT_READ to PROJECT_WRITE or vice versa does raise the ProjectPermissionModificationRequestedEvent. Only changing the permission to or from "No Access" does not raise the event.