Skip to content

Comments

Extract root Principal setup code into a common util class#3446

Merged
dimas-b merged 1 commit intoapache:mainfrom
dimas-b:unify-root-principal-creation
Jan 23, 2026
Merged

Extract root Principal setup code into a common util class#3446
dimas-b merged 1 commit intoapache:mainfrom
dimas-b:unify-root-principal-creation

Conversation

@dimas-b
Copy link
Contributor

@dimas-b dimas-b commented Jan 15, 2026

  • Add AuthBootstrapUtil to contain the canonical setup code for the "root" Polaris Principal and default roles.

  • This class is not meant for reuse outside the Polaris codebase.

Checklist

  • 🛡️ Don't disclose security issues! (contact security@apache.org)
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

* Add `AuthBootstrapUtil` to contain the canonical setup code
  for the "root" Polaris Principal and default roles.

* This class is not meant for reuse outside the Polaris codebase.
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Jan 20, 2026
@dimas-b dimas-b merged commit d95bd6b into apache:main Jan 23, 2026
15 checks passed
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Jan 23, 2026
@dimas-b dimas-b deleted the unify-root-principal-creation branch January 23, 2026 15:12
evindj pushed a commit to evindj/polaris that referenced this pull request Jan 26, 2026
* Add `AuthBootstrapUtil` to contain the canonical setup code
  for the "root" Polaris Principal and default roles.

* This class is not meant for reuse outside the Polaris codebase.
snazy added a commit to snazy/polaris that referenced this pull request Feb 11, 2026
* (feat) Add example for rustfs integration (apache#3482)

* Add example for rustfs

* Make it podman compatible and used fixed version for images

* Add disclaimer for mc and set polaris tag to be latest

* Avoid latest image tage for all other images except polaris (apache#3497)

* Use archive.apache.org for previous releases. (apache#3474)

Only the last release should be on dist.apache.org.

* Site: Update Slack invite (apache#3487)

* Updated cli doc with new options introduced in catalog create (apache#3502)

* NoSQL: Retain only the most recent state in metastore maintenance (apache#3483)

* Extract root Principal setup code into a common util class (apache#3446)

* Add `AuthBootstrapUtil` to contain the canonical setup code
  for the "root" Polaris Principal and default roles.

* This class is not meant for reuse outside the Polaris codebase.

* Use types config for `POLARIS_TASK_TIMEOUT_MILLIS` (apache#3477)

Add a typed `FeatureConfiguration` with the same config name and default value.

* Use typed config for `ALLOW_WILDCARD_LOCATION` (apache#3479)

Add a typed `FeatureConfiguration` with the same config name and default value.

* Last merged commit bf25373

---------

Co-authored-by: Yong Zheng <yongzheng0809@gmail.com>
Co-authored-by: JB Onofré <jbonofre@apache.org>
Co-authored-by: Yufei Gu <yufei@apache.org>
Co-authored-by: Dmitri Bourlatchkov <dmitri.bourlatchkov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants