-
Notifications
You must be signed in to change notification settings - Fork 280
Issue/9057 super user cannot run collectors #799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: support/3.2
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR attempts to address an issue where super users cannot run collectors by modifying the ModuleInstallation class to be subject to profile-based permissions. However, the PR also includes several unrelated changes.
Changes:
- Added
grant_by_profilecategory to ModuleInstallation class and added it to the AdminSysReadOnly group for SuperUser profile - Added new permissions for Ticketing and Incident groups in the SuperUser profile
- Added row-gap styling to multi-column layout component
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| setup/moduleinstallation.class.inc.php | Adds grant_by_profile category to make ModuleInstallation subject to profile-based permissions |
| datamodels/2.x/itop-profiles-itil/datamodel.itop-profiles-itil.xml | Adds ModuleInstallation to AdminSysReadOnly group; adds unrelated Ticketing and Incident permissions |
| css/backoffice/layout/multi-column/_multi-column.scss | Adds row-gap styling to multi-column layout (unrelated UI improvement) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| $aParams = | ||
| [ | ||
| "category" => "core,view_in_gui", | ||
| "category" => "core,view_in_gui,grant_by_profile", |
Copilot
AI
Jan 28, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description template has not been filled out. The description should explain:
- What the symptom/objective is (why super users cannot run collectors)
- The reproduction procedure
- The root cause of the issue
- How this change fixes it
- Why multiple seemingly unrelated changes (ModuleInstallation permissions, Ticketing/Incident permissions, and CSS row-gap) are being made in a single PR
Without this information, it's difficult to properly review whether the changes are correct and complete.
|
@v-dumas please assign yourself to your PRs. Also, if you don't fill the template, please remove everything and just put "Internal". |
Pull request overview
This PR attempts to address an issue where SuperUser cannot run collectors as it requires to get objects from the ModuleInstallation class.
Changes:
grant_by_profilecategory to ModuleInstallation class and added it to the AdminSysReadOnly group for SuperUser profileReviewed changes
grant_by_profilecategory to make ModuleInstallation subject to profile-based permissions