Skip to content

Remove check_duplicate_permissions - #933

Open
arvind4501 wants to merge 1 commit into
theforeman:masterfrom
arvind4501:rm-permissions-check
Open

arvind4501 wants to merge 1 commit into
theforeman:masterfrom
arvind4501:rm-permissions-check

Conversation

@arvind4501

Copy link
Copy Markdown
Contributor

Why are you introducing these changes? (Problem description, related links)

theforeman/foreman@76a9663 added the unique permissions validation at db level

What are the changes introduced in this pull request?

How to test this pull request

Steps to reproduce:

Checklist

  • Tests added/updated (if applicable)
  • Documentation updated (if applicable)

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 227374c6-516f-457d-b268-0dee2a946d12
📥 Commits

Reviewing files that changed from the base of the PR and between 47b8fa4 and 3e99f8a.

📒 Files selected for processing (4)
  • docs/developer/checks.md
  • src/roles/check_duplicate_permissions/tasks/main.yaml
  • src/vars/flavors/katello.yml
  • src/vars/flavors/satellite.yml
💤 Files with no reviewable changes (4)
  • src/vars/flavors/satellite.yml
  • docs/developer/checks.md
  • src/roles/check_duplicate_permissions/tasks/main.yaml
  • src/vars/flavors/katello.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The duplicate-permission health check was removed from its task, the Katello and Satellite health-check lists, and the developer documentation.

Changes: Duplicate-permission check removal

Layer / File(s) Summary
Remove the duplicate-permission health check
src/vars/flavors/katello.yml, src/vars/flavors/satellite.yml, src/roles/check_duplicate_permissions/tasks/main.yaml, docs/developer/checks.md
Removed the check task, its entries in both flavor health-check lists, and its documentation. The task previously queried for duplicate permission records and failed if it found any.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 3e99f

No concrete merge-blocking issue is established. Confirm that the intended deployment images include the upstream permission migration during normal release validation.

Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Title check Passed The title clearly identifies the main change: removal of check_duplicate_permissions.
Description check Passed The description explains that database-level unique-permissions validation replaced the removed check, so it is related to the changeset.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR

@arvind4501

arvind4501 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor Author

https://github.com/theforeman/foremanctl/blob/master/src/roles/check_duplicate_permissions/tasks/main.yaml#L2 specifically mentions to remove it after a release. since the theforeman/foreman@76a9663 is in nightly, should we wait till its in a stable release and then remove it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants