In our DSpace 7.4 testing, it appears that the "Impersonate EPerson" functionality ignores any "special groups" that are normally assigned to the impersonated user as part of the authentication process.
For example, we use the "org.dspace.authenticate.IPAuthentication" class to assign a "special group" to users, based on their IP address. When an administrator impersonates a user, the impersonated user is not assigned to any special groups (the "switchContextUser" method in the "org.dspace.core.Context" class simply resets the "special groups" to an empty set for the impersonated user).
This seems to affect all the authentication methods (any "special group" handling they might have is not called when the impersonation is performed).
In DSpace 6, impersonated users were assigned to "special groups" -- are there any plans to restore this functionality or any suggestions about how it might be done to provide a more accurate experience when impersonating users?
Thanks,
David