3 var SecurityResourceRoute = require('../common/create-security-resource');
4 var sdWithPolicyFactory = require('../../../services/security-descriptor-with-policy-service');
5 var Promise = require('bluebird');
7 module.exports = new SecurityResourceRoute({
9 getSecurityDescriptorWithPolicyService: function(req) {
10 return Promise.resolve(sdWithPolicyFactory.createForGroup(req.group, req.userGroupPolicy));
13 extraAdmins: require('./security-extra-admins')