J5.x

How to Delete Access Levels with Table References

From Joomla! Documentation

Other languages:
English
Joomla! 
≥ 5.2

Introduction[edit]

The feature introduced in Joomla 5.2 simplifies the deletion of access levels by providing clear information about where an access level is being used. Previously, if an access level was in use, Joomla would prevent its deletion but without specifying where it was being applied. This update adds a detailed error message that includes a list of the tables referencing the access level, helping users to locate the content linked to it.

How it Works[edit]

When attempting to delete an access level, Joomla now checks across all relevant tables to find where the access level is used. If the level is associated with any content, such as an article, contact, or module, the system will prevent deletion and display a message listing the tables where the access level is applied.

This makes it easier for users to find the specific components using the access level and adjust or remove the association before attempting deletion again.

How to Access[edit]

To delete an access level with this new feature:

  1. Go to Users -> Access Levels.
  2. Attempt to delete an access level that is currently in use by some content.
  3. If the access level is in use, Joomla will prevent the deletion and display a list of the tables where the access level is applied.

You can then review the associated content and adjust the access levels as needed before deleting the access level.

Additional Notes[edit]

This feature enhances the user experience by providing clearer error messages with specific information about where an access level is being used. Experienced users can use this information to filter and adjust access settings for the relevant content items.

Note on the Feature's Origin[edit]

This feature was added in Joomla 5.2 via the improvement introduced in #43223.