mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 21:45:43 +01:00
protect getAll methods
This commit is contained in:
@@ -401,6 +401,8 @@ public class XmlGroupManager extends AbstractGroupManager
|
||||
public Collection<Group> getAll(Comparator<Group> comparator, int start,
|
||||
int limit)
|
||||
{
|
||||
SecurityUtil.assertIsAdmin(securityContextProvider);
|
||||
|
||||
return Util.createSubCollection(groupDB.values(), comparator,
|
||||
new CollectionAppender<Group>()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user