mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Merge pull request #2594 from wenottingham/cherry-pickin
cherry pick some more AWX things
This commit is contained in:
@@ -42,6 +42,7 @@ class PosixUIDGroupType(LDAPGroupType):
|
|||||||
)
|
)
|
||||||
|
|
||||||
search = group_search.search_with_additional_term_string(filterstr)
|
search = group_search.search_with_additional_term_string(filterstr)
|
||||||
|
search.attrlist = [self.name_attr]
|
||||||
groups = search.execute(ldap_user.connection)
|
groups = search.execute(ldap_user.connection)
|
||||||
except (KeyError, IndexError):
|
except (KeyError, IndexError):
|
||||||
pass
|
pass
|
||||||
@@ -72,4 +73,3 @@ class PosixUIDGroupType(LDAPGroupType):
|
|||||||
is_member = False
|
is_member = False
|
||||||
|
|
||||||
return is_member
|
return is_member
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,7 @@ export default ['i18n', function(i18n) {
|
|||||||
label: i18n._('Last Name'),
|
label: i18n._('Last Name'),
|
||||||
type: 'text',
|
type: 'text',
|
||||||
ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)',
|
ngDisabled: '!(user_obj.summary_fields.user_capabilities.edit || canAdd)',
|
||||||
required: true,
|
required: true
|
||||||
capitalize: true
|
|
||||||
},
|
},
|
||||||
organization: {
|
organization: {
|
||||||
label: i18n._('Organization'),
|
label: i18n._('Organization'),
|
||||||
|
|||||||
Reference in New Issue
Block a user