minio/.github/workflows
Aditya Manthramurthy 3212d0c8cd
fix: IAM import for LDAP should replace mappings (#19607)
Existing IAM import logic for LDAP creates new mappings when the
normalized form of the mapping key differs from the existing mapping key
in storage. This change effectively replaces the existing mapping key by
first deleting it and then recreating with the normalized form of the
mapping key.

For e.g. if an older deployment had a policy mapped to a user DN -

`UID=alice1,OU=people,OU=hwengg,DC=min,DC=io`

instead of adding a mapping for the normalized form -

`uid=alice1,ou=people,ou=hwengg,dc=min,dc=io`

we should replace the existing mapping.

This ensures that duplicates mappings won't remain after the import.

Some additional cleanup cases are also covered. If there are multiple
mappings for the name normalized key such as:

`UID=alice1,OU=people,OU=hwengg,DC=min,DC=io`
`uid=alice1,ou=people,ou=hwengg,DC=min,DC=io`
`uid=alice1,ou=people,ou=hwengg,dc=min,dc=io`

we check if the list of policies mapped to all these keys are exactly
the same, and if so remove all of them and create a single mapping with
the normalized key. However, if the policies mapped to such keys differ,
the import operation returns an error as the server cannot automatically
pick the "right" list of policies to map.
2024-04-25 08:49:53 -07:00
..
mint fix: support dropping privileges with arbitrary users (#18386) 2023-11-03 14:18:18 -07:00
multipart fix: site-replication will reset group status when add user (#19594) 2024-04-24 08:54:24 -07:00
depsreview.yaml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
go-cross.yml Fix some CI warnings (#19482) 2024-04-12 02:25:58 -07:00
go-fips.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
go-healing.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
go-lint.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
go.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
helm-lint.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
iam-integrations.yaml fix: IAM import for LDAP should replace mappings (#19607) 2024-04-25 08:49:53 -07:00
issues.yaml Workflow to add issues to Tracking project (#18771) 2024-01-10 23:02:00 -08:00
lock.yml lock all issues and PRs from last 365 days 2022-01-29 19:27:43 -08:00
mint.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
replication.yaml add ILM + site-replication tests (#19554) 2024-04-19 05:48:19 -07:00
root-disable.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
root.cert add root_disk threshold detection (#12259) 2021-05-08 15:40:29 -07:00
root.key add root_disk threshold detection (#12259) 2021-05-08 15:40:29 -07:00
run-mint.sh update missing mc command on multipart-tests 2023-09-30 20:29:45 -07:00
shfmt.yml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
typos.yml Improve typos configuration (#19489) 2024-04-16 17:36:28 -07:00
upgrade-ci-cd.yaml fix: CI warnings (#19380) 2024-03-28 16:44:49 -07:00
vulncheck.yml update all deps regular cadence (#19523) 2024-04-16 11:48:56 -07:00