mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
protect getAll methods
This commit is contained in:
@@ -443,6 +443,8 @@ public class XmlUserManager extends AbstractUserManager
|
||||
public Collection<User> getAll(Comparator<User> comaparator, int start,
|
||||
int limit)
|
||||
{
|
||||
SecurityUtil.assertIsAdmin(scurityContextProvider);
|
||||
|
||||
return Util.createSubCollection(userDB.values(), comaparator,
|
||||
new CollectionAppender<User>()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user