Skip to content

Issue/9057 super user cannot run collectors#799

Open
v-dumas wants to merge 1 commit intosupport/3.2from
issue/9057-SuperUser-cannot-run-collectors
Open

Issue/9057 super user cannot run collectors#799
v-dumas wants to merge 1 commit intosupport/3.2from
issue/9057-SuperUser-cannot-run-collectors

Conversation

@v-dumas
Copy link
Contributor

@v-dumas v-dumas commented Jan 28, 2026

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:

  • Added grant_by_profile category to ModuleInstallation class and added it to the AdminSysReadOnly group for SuperUser profile

Reviewed changes

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;

Copy link

Copilot AI left a 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_profile category 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",
Copy link

Copilot AI Jan 28, 2026

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:

  1. What the symptom/objective is (why super users cannot run collectors)
  2. The reproduction procedure
  3. The root cause of the issue
  4. How this change fixes it
  5. 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.

Copilot uses AI. Check for mistakes.
@Molkobain
Copy link
Contributor

@v-dumas please assign yourself to your PRs. Also, if you don't fill the template, please remove everything and just put "Internal".

@v-dumas v-dumas changed the base branch from develop to support/3.2 January 29, 2026 16:46
@v-dumas v-dumas self-assigned this Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants