Skip to content

Conversation

@MyvTsv
Copy link
Contributor

@MyvTsv MyvTsv commented Nov 12, 2025

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes !40238
    If a user profile does not have read access to the GLPI configuration, it should also not have access to the Fields plugin containers.

However, the user could still see the Fields menu in the Setup menu, even though they could not view its contents due to insufficient permissions.

This PR corrects this behavior by hiding the Fields menu when the user does not have the corresponding read permission.

Screenshots (if appropriate):

image

@MyvTsv MyvTsv requested review from Rom1-B and stonebuzz November 12, 2025 14:13
@MyvTsv MyvTsv self-assigned this Nov 12, 2025
@Rom1-B
Copy link
Contributor

Rom1-B commented Nov 13, 2025

Please rebase

@MyvTsv MyvTsv marked this pull request as ready for review November 13, 2025 10:17
@Rom1-B Rom1-B merged commit ed80846 into pluginsGLPI:main Nov 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants