-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Nuxeo Drive
-
Impact type:API change
-
Upgrade notes:
-
Sprint:nxfit 9.1.9, nxfit 9.1.10
-
Story Points:8
Because these events are not detected by the audit change finder.
There are some events raised: "group_modified" and "group_deleted" though this is not enough to track that a user has been removed from the group ot that a removed group was one of the user's groups, and what synchronization roots it could impact
The simplest seems to have a Drive listener on these events and force the clients to make a remote full scan in this case. Though optimizing at least to impact only the users related to the group changes would be nice.
---------------------------------------------------------------------------------------------------
Finally, we are now relying on the NuxeoDriveGroupUpdateListener to handle the group change events fired by UserManager#notifyGroupChanged(String groupName, String eventId, List<String> ancestorGroupNames) and make sure the FileSystemChangeFinder detects them.
The tracked events are "group_created", "group_deleted" and "group_modified".
For SQL-base directories, the notifyGroupChanged method is called directly when invoking createGroup, deleteGroup or updateGroup on the UserManager.
For LDAP-based directories, it must be called manually, through an Automation operation or a Seam component for instance. In this case, note that when deleting a group, the list of group ancestors must be computed before the group is actually deleted to be able to provide the ancestorGroupNames parameter to UserManager#notifyGroupChanged(String groupName, String eventId, List<String> ancestorGroupNames).
- depends on
-
NXP-19115 Add user/group auditing
- Resolved
- is duplicated by
-
NXP-24662 Support add/remove users permissions update with Drive
- Resolved
- is related to
-
NXP-21373 Sync folder not deleted in drive, on permission removal
- Resolved
- is required by
-
NXDRIVE-779 Add functional tests for NXP-14830
- Resolved