Skip to content

Add bulk access control management for forms - #25069

Open
UncleTomsCabi wants to merge 1 commit into
glpi-project:mainfrom
UncleTomsCabi:feature/form-bulk-access-controls
Open

Add bulk access control management for forms#25069
UncleTomsCabi wants to merge 1 commit into
glpi-project:mainfrom
UncleTomsCabi:feature/form-bulk-access-controls

Conversation

@UncleTomsCabi

Copy link
Copy Markdown

Description

This PR adds a new massive action for Forms called Configure access controls.

The new action allows administrators to manage access permissions for multiple forms without opening each form individually.

Features

  • Adds a new Configure access controls massive action displayed after Update.
  • Supports bulk operations:
    • Add access permissions.
    • Remove access permissions.
  • Existing permissions are preserved when using Add.
  • Only selected users, groups or profiles are removed when using Remove.
  • No duplicate permissions are created.
  • When a single form is selected, the current access configuration is displayed and can be edited directly.
  • When multiple forms are selected, the administrator first chooses the operation (Add / Remove), then selects users, groups or profiles.
  • The interface follows the existing GLPI massive action workflow by displaying additional options only after selecting an operation.

Benefits

Managing permissions for many forms is currently time-consuming because each form must be opened individually.

This feature allows administrators to manage access permissions consistently across multiple forms while preserving existing configurations.

No existing behavior is changed unless the new massive action is explicitly used.

image image image image image image image

One form:

image image

## Description

This PR adds a new massive action for Forms called **Configure access controls**.

The new action allows administrators to manage access permissions for multiple forms without opening each form individually.

### Features

- Adds a new **Configure access controls** massive action displayed after **Update**.
- Supports bulk operations:
  - **Add** access permissions.
  - **Remove** access permissions.
- Existing permissions are preserved when using **Add**.
- Only selected users, groups or profiles are removed when using **Remove**.
- No duplicate permissions are created.
- When a single form is selected, the current access configuration is displayed and can be edited directly.
- When multiple forms are selected, the administrator first chooses the operation (Add / Remove), then selects users, groups or profiles.
- The interface follows the existing GLPI massive action workflow by displaying additional options only after selecting an operation.

## Benefits

Managing permissions for many forms is currently time-consuming because each form must be opened individually.

This feature allows administrators to manage access permissions consistently across multiple forms while preserving existing configurations.

No existing behavior is changed unless the new massive action is explicitly used.
@trasher

trasher commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No new feature will be accepted on bugfixes branch (I have no idea if proposal is correct or not).

@UncleTomsCabi
UncleTomsCabi changed the base branch from 11.0/bugfixes to main August 5, 2026 04:35
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.

2 participants