示例#1
0
 def create_group(self, group_id, group):
     group["name"] = clean.group_name(group["name"])
     return self.group.create(group)
示例#2
0
 def update_group(self, group_id, group):
     if "name" in group:
         group["name"] = clean.group_name(group["name"])
     return self.group.update(group_id, group)
示例#3
0
文件: ldap.py 项目: Lactem/keystone
 def create_group(self, group_id, group):
     self.group.check_allow_create()
     group['name'] = clean.group_name(group['name'])
     return common_ldap.filter_entity(self.group.create(group))
示例#4
0
文件: ldap.py 项目: Lactem/keystone
 def update_group(self, group_id, group):
     self.group.check_allow_update()
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return common_ldap.filter_entity(self.group.update(group_id, group))
示例#5
0
 def update_group(self, group_id, group):
     self.group.check_allow_update()
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return common_ldap.filter_entity(self.group.update(group_id, group))
示例#6
0
文件: core.py 项目: CiscoAS/keystone
 def update_group(self, group_id, group):
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return self.group.update(group_id, group)
示例#7
0
 def update_group(self, group_id, group):
     group = self._validate_domain(group)
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return self._set_default_domain(self.group.update(group_id, group))
示例#8
0
 def update_group(self, group_id, group):
     self.group.check_allow_update()
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return self.group.update(group_id, group)
示例#9
0
 def update_group(self, group_id, group):
     group = self._validate_domain(group)
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return self._set_default_domain(self.group.update(group_id, group))
示例#10
0
 def create_group(self, group_id, group):
     group = self._validate_domain(group)
     group['name'] = clean.group_name(group['name'])
     return self._set_default_domain(self.group.create(group))
示例#11
0
 def create_group(self, group_id, group):
     group = self._validate_domain(group)
     group['name'] = clean.group_name(group['name'])
     return self._set_default_domain(self.group.create(group))
示例#12
0
文件: ldap.py 项目: anbangr/keystone
 def update_group(self, group_id, group):
     self.group.check_allow_update()
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return self.group.update(group_id, group)
示例#13
0
文件: ldap.py 项目: anbangr/keystone
 def create_group(self, group_id, group):
     self.group.check_allow_create()
     group['name'] = clean.group_name(group['name'])
     return self.group.create(group)
示例#14
0
 def create_group(self, group_id, group):
     group['name'] = clean.group_name(group['name'])
     return self.group.create(group)
示例#15
0
 def create_group(self, group_id, group):
     self.group.check_allow_create()
     group['name'] = clean.group_name(group['name'])
     return common_ldap.filter_entity(self.group.create(group))
示例#16
0
 def update_group(self, group_id, group):
     if 'name' in group:
         group['name'] = clean.group_name(group['name'])
     return self.group.update(group_id, group)
示例#17
0
 def create_group(self, group_id, group):
     self.group.check_allow_create()
     group['name'] = clean.group_name(group['name'])
     return self.group.create(group)