File tree Expand file tree Collapse file tree
snd/src/org/labkey/snd/security/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424<%@ page import =" org.labkey.snd.SNDController.AdminAction" %>
2525<%@ page import =" org.labkey.snd.SNDController.CategorySecurityAction" %>
2626<%@ page import =" org.labkey.snd.security.SNDSecurityManager" %>
27- <%@ page import =" java.util.ArrayList" %>
2827<%@ page import =" java.util.HashMap" %>
2928<%@ page import =" java.util.List" %>
3029<%@ page import =" java.util.Map" %>
4948% >
5049
5150<%
52- List<Group > groups = org.labkey.api.security. SecurityManager . getGroups(getContainer(). getProject(), true );
53- ArrayList<Group > validGroups = new ArrayList<> ();
51+ List<Group > validGroups = org.labkey.api.security. SecurityManager . getGroups(getContainer(). getProject(), true );
5452 SNDService sndService = SNDService . get();
5553 SNDSecurityManager sndSecurityManager = SNDSecurityManager . get();
56-
57- for (Group g : groups)
58- {
59- if (g. getUserId() == Group . groupAdministrators || g. getUserId() == Group . groupDevelopers)
60- continue ;
61-
62- validGroups. add(g);
63- }
64-
6554 Map<Integer , Category > categories = sndService. getAllCategories(getContainer(), getUser());
6655 Map<String , Role > roles = sndSecurityManager. getAllSecurityRoles();
6756
9887 }
9988 roleMapping. put(category. getCategoryId(), roleNameMap);
10089 }
101-
102-
10390% >
10491<style type =" text/css" >
10592 .input-append .btn.dropdown-toggle {
You can’t perform that action at this time.
0 commit comments