|
@@ -239,12 +239,10 @@ module.exports = function(crowi, app) {
|
|
|
actions.userGroup = {};
|
|
actions.userGroup = {};
|
|
|
actions.userGroup.index = function(req, res) {
|
|
actions.userGroup.index = function(req, res) {
|
|
|
const page = parseInt(req.query.page) || 1;
|
|
const page = parseInt(req.query.page) || 1;
|
|
|
- const isAclEnabled = aclService.isAclEnabled();
|
|
|
|
|
const renderVar = {
|
|
const renderVar = {
|
|
|
userGroups: [],
|
|
userGroups: [],
|
|
|
userGroupRelations: new Map(),
|
|
userGroupRelations: new Map(),
|
|
|
pager: null,
|
|
pager: null,
|
|
|
- isAclEnabled,
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
UserGroup.findUserGroupsWithPagination({ page })
|
|
UserGroup.findUserGroupsWithPagination({ page })
|