Skip to content

N°10075 - Update configuration parameters default value - #1055

Merged
steffunky merged 4 commits into
support/3.2from
issue/10075_update_conf_paramters_value
Sep 29, 2026
Merged

steffunky merged 4 commits into
support/3.2from
issue/10075_update_conf_paramters_value

Conversation

@steffunky

Copy link
Copy Markdown
Member

Base information

Question Answer
Related to a SourceForge thread / Another PR / A GitHub Issue / Combodo ticket? N°10075
Type of change? Bug fix

Proposed solution (bug and enhancement)

Update the default value for these configuration parameters

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested all changes I made on an iTop instance
  • I have added a unit test, otherwise I have explained why I couldn't (unit test working w/ new default values)
  • Is the PR clear and detailed enough so anyone can understand without digging in the code?

Copilot AI balanced review requested due to automatic review settings September 25, 2026 08:45
@steffunky steffunky self-assigned this Sep 25, 2026
@steffunky steffunky added the internal Work made by Combodo label Sep 25, 2026
@steffunky steffunky added this to the 3.2.4 milestone Sep 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

An existing integration test still asserts the previous endpoint-access default, and joined-filter default behavior lacks direct coverage.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity

Open (2)
What changed in this PR

Updates security-related configuration defaults to enable joined-class filtering and forced login by default.

Changes:

  • Enables joined/union class scope filtering by default.
  • Forces authentication for unlisted module endpoints by default.
  • Updates related comments.
File Description
core/​dbunionsearch.class.php Clarifies filtering configuration behavior.
core/​dbobjectsearch.class.php Clarifies joined-class filtering behavior.
core/​config.class.inc.php Changes both security defaults to false.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread core/config.class.inc.php
Comment thread core/config.class.inc.php
@greptile-apps

greptile-apps Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Critical risk] Changes default security filter settings for joined classes and login enforcement.

The PR appears safe to merge; no outstanding findings remain.

Summary

This PR changes the defaults to enable joined-class scope filtering and require login for module exec endpoints without a delegated-authentication list. It updates the login test’s default expectation and restores its teardown exception import.

Reviews (3) · Last reviewed commit: "Restore Exception import for teardown er..."

Comment thread core/config.class.inc.php

@Molkobain Molkobain left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPUnit tests remains to update, otherwise it looks good.

Comment thread core/config.class.inc.php
Comment thread core/config.class.inc.php

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The removed exception import breaks teardown error handling, and the compatibility opt-out is no longer tested.

Review effort: Balanced
Findings: 2 High severity · 2 Medium severity

Open (4)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The defaults, implementation comments, and authentication tests consistently reflect the intended security behavior.

Review effort: Balanced
Findings: None

Resolved since last review (4)

@steffunky
steffunky merged commit a2a00cb into support/3.2 Sep 29, 2026
1 check passed
@steffunky
steffunky deleted the issue/10075_update_conf_paramters_value branch September 29, 2026 08:03
steffunky added a commit that referenced this pull request Oct 1, 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