Skip to main content

Access permissions (ACL) and user profiles in Medulla

Applies to: Medulla
Version: All versions
Environment: On-Premise / SaaS
Category: Administration / ACL / User profiles

Important: The ACL configuration in the /etc/mmc/plugins/glpi.ini.local file is valid only for Medulla versions prior to 5.6.0. Starting with Medulla 5.6.0, ACL management is available directly from the Medulla web interface.

Medulla 5.6 and later versions: ACL management via the web interface is described in the following documentation:
ACL management in Medulla

Caution when upgrading to Medulla 5.6: After the update, you must log in with the root account to verify the permissions of users and groups created before upgrading to version 5.6. Check the ACLs assigned to each user and group before allowing them to resume using the platform.

Definitions

ACL

ACLs, or access control lists, define which Medulla features a user can access based on their profile.

ACLs may change with each new version of Medulla as features are added or modified.

Profile

A profile is defined in the ITSM tool associated with Medulla. It determines a user’s permissions for one or more entities.

The three main profiles are:

• Super-Admin

• Admin

• Technician

Restriction regarding profiles and entities

Restriction for versions prior to 5.6.0: Medulla does not distinguish between profile/entity pairs. If a user has different profiles for different entities, the most permissive profile will be applied to all entities to which that user has access.

For example, if a user is a Super-Admin on one entity and a Technician on another, the permissions associated with the Super-Admin profile may be applied to all authorized entities.

ACL management starting with Medulla 5.6.0

Starting with version 5.6.0, ACLs are no longer managed via the configuration file. They are administered directly from the Medulla web interface.

Among other things, this interface allows you to:

• view and modify user permissions;

• manage the permissions assigned to groups;

• grant or revoke access to various Medulla features;

• centralize permission management without manually modifying the server’s configuration files.

The complete procedure is available in the following documentation:

Required checks after an update to Medulla 5.6

When upgrading from a previous version to version 5.6.0 or later, existing users and groups must undergo a permissions check.

Required action: Log in for the first time after the update using the local root account. Do not use a user account or an LDAP account directly to perform this initial check.

After the update:

1. Log in to Medulla using the root account

2. Open ACL management from the web interface

3. Verify the permissions for each user created before the upgrade to version 5.6

4. Verify the permissions for each group created before the upgrade to version 5.6

5. Correct any missing, excessive, or incorrect ACLs

6. Test the permissions using a representative user from each profile or group

7. Verify that each user has access only to the intended features and entities

Security best practice: Pay special attention to users with administrative permissions. Verify that no user or group has ACLs that are more permissive than those originally intended for them.

Configuring ACLs for versions prior to 5.6.0

For Medulla versions prior to 5.6.0, ACLs are configured in the following file:

/etc/mmc/plugins/glpi.ini.local

Three parameters are used to define the ACLs associated with profiles:

profile_acl_Super-Admin
profile_acl_Admin
profile_acl_Technician

Each parameter contains a list of Medulla features authorized for the corresponding profile.

Configuration steps for versions prior to 5.6.0

1. Identify and list the Medulla features that must be accessible for the profile in question

2. Convert the list of ACLs into a single continuous string

3. Verify that the string ends with the character /

4. Copy this string into the parameter corresponding to the desired profile in the glpi.ini.local file

5. Save the configuration file

6. Restart the Medulla services to apply the new configuration

Configuration example

Example structure in the configuration file:

profile_acl_Super-Admin = fonctionnalite1/fonctionnalite2/fonctionnalite3/
profile_acl_Admin = fonctionnalite1/fonctionnalite2/
profile_acl_Technician = fonctionnalite1/

Note: The values above are only examples of the structure. The exact names of the ACLs must correspond to the features available in the version of Medulla you are using.

Restarting the services

For versions prior to 5.6.0, after any changes to the /etc/mmc/plugins/glpi.ini.local file, the Medulla services must be restarted so that the new ACLs take effect.

Best practice: Before making any changes, create a backup copy of the existing configuration file.

sudo cp /etc/mmc/plugins/glpi.ini.local /etc/mmc/plugins/glpi.ini.local.backup

How to verify the configuration?

After modifying the ACLs:

1. Log in to Medulla as a user with the modified profile or group

2. Verify that the authorized features are accessible

3. Verify that unauthorized features are not displayed or accessible

4. Test the various profiles and groups involved

5. Verify access to the various entities

Summary

Item

Value

Versions prior to 5.6.0

ACL configuration in /etc/mmc/plugins/glpi.ini.local

Medulla 5.6.0 and later

ACL management directly from the web interface

Medulla 5.6 documentation

ACL Management

After migrating to 5.6

Log in with the root account and check the permissions of existing users and groups

Legacy file

/etc/mmc/plugins/glpi.ini.local

Super-Admin profile

profile_acl_Super-Admin

Admin profile

profile_acl_Admin

Technician profile

profile_acl_Technician

Legacy ACL separator

Character /

Applied prior to version 5.6

Restarting Medulla services