Skip to content

Commit

Permalink
Merge pull request #261 from CybercentreCanada/hoftix/ldap_classifica…
Browse files Browse the repository at this point in the history
…tion

Hoftix/ldap classification
  • Loading branch information
cccs-sgaron authored Sep 2, 2021
2 parents 6f8c799 + 5929062 commit e4f293a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemblyline_ui/security/ldap_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_user_classification(self, group_dn_list):
ret = CLASSIFICATION.UNRESTRICTED
for group_dn in group_dn_list:
if group_dn in self.classification_mappings:
ret = CLASSIFICATION.max_classification(ret, self.classification_mappings[group_dn])
ret = CLASSIFICATION.build_user_classification(ret, self.classification_mappings[group_dn])

return ret

Expand Down

0 comments on commit e4f293a

Please sign in to comment.