Skip to content

♻️ refacto(iaas): reworked policy/user aliases#79

Merged
jfbus merged 1 commit intomainfrom
policy
Feb 25, 2026
Merged

♻️ refacto(iaas): reworked policy/user aliases#79
jfbus merged 1 commit intomainfrom
policy

Conversation

@jfbus
Copy link
Copy Markdown
Contributor

@jfbus jfbus commented Feb 25, 2026

Description

This PR adds/fixes policy/policy version aliases.

It improves the way the primary key is computed/used. Update/Delete are required to use the primary key.

As a side effect:

  • describe is removed from user/usergroup (it used an id when the primary key, used everywhere else, is the name)
  • the usage help text now uses the primary key (in snake case), not entity_id

Additional fixes:

  • delete cannot be called with no argument any more.

Type of Change

Please check the relevant option(s):

  • 🐛 Bug fix
  • ✨ New feature
  • 🧹 Code cleanup or refactor
  • 📝 Documentation update
  • 🔧 Build or CI-related change
  • 🔒 Security fix
  • Other (specify):

How Has This Been Tested?

Please describe the test strategy:

  • Manual testing
  • Unit tests
  • Integration tests
  • Not tested yet

Checklist

  • I have followed the Contributing Guidelines
  • I have added tests or explained why they are not needed
  • I have updated relevant documentation (README, examples, etc.)
  • My changes follow the Conventional Commits specification
  • My commits include appropriate Gitmoji

Additional Context

@jfbus jfbus marked this pull request as ready for review February 25, 2026 12:22
@jfbus jfbus added the kind/cleanup Removal or cleanup label Feb 25, 2026
@jfbus jfbus merged commit 2dfcfbd into main Feb 25, 2026
4 checks passed
@jfbus jfbus deleted the policy branch February 25, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Removal or cleanup

Development

Successfully merging this pull request may close these issues.

2 participants