-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for LDAP user and group in policy attachments (#446)
* feat: add support for LDAP user and group
- Loading branch information
1 parent
e462c49
commit ae4966e
Showing
9 changed files
with
97 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ func TestValidateMinioIamUserName(t *testing.T) { | |
"test.123,user", | ||
"testuser@minio", | ||
"[email protected]", | ||
"CN=Backup Operators,CN=Builtin,DC=gr-u,DC=it", | ||
"CN=View-Only Organization Management,OU=Microsoft Exchange Security Groups,DC=gr-u,DC=it", | ||
} | ||
|
||
for _, minioName := range minioValidNames { | ||
|
@@ -44,6 +46,8 @@ func TestValidateMinioIamUserName(t *testing.T) { | |
"test name", | ||
"/slash-at-the-beginning", | ||
"slash-at-the-end/", | ||
"OU=Microsoft Exchange Security Groups,DC=gr-u,DC=it", | ||
"OU=Microsoft Exchange Security Groups", | ||
} | ||
|
||
for _, minioName := range minioInvalidNames { | ||
|