Details
- 
    
Improvement
 - 
    Resolution: Unresolved
 - 
    
Major
 - 
    None
 - 
    16.4.6
 - 
    None
 
- 
        Unknown
 - 
        
 
Description
The method from isUserInGroup from com.xpn.xwiki.api.User is using deprecated API to fetch the user's group list, instead of the new group manager API methods.
Issue XWIKI-12292 open about this method is closed as won't fix with a recommendation to use the group manager API instead.
Thus, one of the 2 needs to be done:
- either the method isUserInGroup is kept but marked somehow as deprecated, or javadoc is updated to mention that it has unresolved limitations and the group manager API is now recommended
 - or its implementation is updated to be as correct as it can be using the latest and greatest of the APIs.
 
Attachments
Issue Links
- relates to
 - 
                    
XWIKI-12292 API isUserInGroup method doesn't work with sub group
-         
 - Closed
 
 -