policy entities now print group memberships per user #4961
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Community Contribution License
All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.
Description
mc idp ldap policy entities
now prints group memberships for queried users. The combined effective policies of the user+group is also printed as "Effective Policies". This also occurs formc admin policy entities
Currently there are two options for displaying this information:
![image](https://private-user-images.githubusercontent.com/84724408/350164603-979d829b-380a-4cc4-8d34-60bc495ff1a1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2ODAzMjksIm5iZiI6MTcyNTY4MDAyOSwicGF0aCI6Ii84NDcyNDQwOC8zNTAxNjQ2MDMtOTc5ZDgyOWItMzgwYS00Y2M0LThkMzQtNjBiYzQ5NWZmMWExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDAzMzM0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRkNDc3ZWRiMWM4ZTY0MjFmMTliZTRmMmZkYzFkNzgyODBmNGQxYjE5NzBiNDkwNDJjZWQ2NzMwMGRmNzY5N2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VSYlVn9MxzetonIIecMiWIQ4Aa3KrTt4n7Mupq6ZUC8)
OPTION 1 - Delimited by commas with wrapping at 80 characters
OPTION 2 - All entries on separate lines
![image](https://private-user-images.githubusercontent.com/84724408/350164787-9a981146-9517-41d3-b010-daf1a06c4966.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2ODAzMjksIm5iZiI6MTcyNTY4MDAyOSwicGF0aCI6Ii84NDcyNDQwOC8zNTAxNjQ3ODctOWE5ODExNDYtOTUxNy00MWQzLWIwMTAtZGFmMWEwNmM0OTY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDAzMzM0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkODkzNWIwZWNhZjFiZjE0N2QxYzA2NTY2ZDc2MTg2YTk1M2M3NjRlMDM5NTI2OTE0YmIyYmU3MzgwZDhhODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HbPwVx01YIB9uKAWz6mjzJaY5WhmrD8rkkgkTrPA18o)
Motivation and Context
minio/minio#20052
How to test this PR?
Types of changes
Checklist:
commit-id
orPR #
here)