common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
956 stars 90 forks source link

Propagate prefixDuplicateProfiles option #639

Closed sosheskaz closed 2 months ago

sosheskaz commented 2 months ago

What changed?

Propagate prefixDuplicateProfiles option to configuration when adding a registry, fixes issue #638

Why?

--prefix-duplicate-profile flag does not have intended effect

How did you test it?

  1. Run with granted 0.23, granted registry add ... --pdp
  2. Inspect ~/.granted/config, it will not have PDP set
  3. Run with dgranted
  4. Inspect ~/.dgranted/config, it will have PDP set

Potential risks

None

Is patch release candidate?

Seems likely

Link to relevant docs PRs