Feature Updates Requested PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar pe7er
pe7er
7 Jan 2025

This PR adds the fancy select functionality to Joomla's core ''Access'' fields.

Summary of Changes

Joomla is suitable for large websites. On such large websites, you can have many User Groups and Viewing Access Levels. When there are many Viewing Access Levels, assigning content to the right Access Level is hard. This PR adds a fancy select feature to the Access field in the back-end forms to make it easier to select the right Access Level.

Testing Instructions

Add a lot of Viewing Access Levels to the website, e.g. using this SQL query:

INSERT INTO `#__viewlevels` (`id`, `title`, `ordering`, `rules`) VALUES
(7, 'Marketing', 5, '[]'),
(8, 'Legal department', 6, '[]'),
(9, 'Research & Development', 7, '[]'),
(10, 'Finance', 8, '[]'),
(11, 'Sales', 9, '[]'),
(12, 'Customer Service', 10, '[]'),
(13, 'Human Resources', 11, '[]'),
(14, 'IT', 12, '[]'),
(15, 'Maintenance department', 13, '[]'),
(16, 'Quality management', 14, '[]'),
(17, 'Operations management', 15, '[]'),
(18, 'Performance management', 16, '[]'),
(19, 'Account department', 17, '[]'),
(20, 'Purchasing', 18, '[]'),
(21, 'Communications', 19, '[]');

Check the Access field in the forms when you create a new item or edit an existing one on these pages:

  • Articles
    /administrator/index.php?option=com_content&view=articles
  • Articles: Categories
    /administrator/index.php?option=com_categories&view=categories&extension=com_content
  • Articles: Fields
    /administrator/index.php?option=com_fields&view=fields&context=com_content.article
  • Articles: Field Groups
    /administrator/index.php?option=com_fields&view=groups&context=com_content.article
  • Modules (Site)
    /administrator/index.php?option=com_modules&view=modules&client_id=0
  • Modules (Administrator)
    /administrator/index.php?option=com_modules&view=modules&client_id=1
  • Menus: All Menu Items
    /administrator/index.php?option=com_menus&view=items&menutype=
  • Contacts
    /administrator/index.php?option=com_contact&view=contacts
  • News Feeds
    /administrator/index.php?option=com_newsfeeds&view=newsfeeds
  • Tags
    /administrator/index.php?option=com_tags&view=tags
  • lugins
    /administrator/index.php?option=com_plugins&view=plugins
  • Guided Tours
    /administrator/index.php?option=com_guidedtours&view=tours
  • Languages: Content
    /administrator/index.php?option=com_languages&view=languages
  • Global Configuration (Default Access Level)
    /administrator/index.php?option=com_config

Actual result BEFORE applying this Pull Request

Go to Content > Articles /administrator/index.php?option=com_content&view=articles > Edit or New
The Access field is a large dropdown list with all Viewing Access Levels ordered by ordering.

access-before

Expected result AFTER applying this Pull Request

Go to Content > Articles /administrator/index.php?option=com_content&view=articles > Edit or New
The Access field is a smaller dropdownlist with the advanced searchable options feature.
Type a part of a name to filter the options.

access-after

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar pe7er pe7er - open - 7 Jan 2025
avatar pe7er pe7er - change - 7 Jan 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jan 2025
Category Administration com_categories com_config com_contact com_content com_fields com_languages com_menus com_modules com_newsfeeds com_plugins com_tags
avatar pe7er pe7er - change - 7 Jan 2025
The description was changed
avatar pe7er pe7er - edited - 7 Jan 2025
avatar brianteeman
brianteeman - comment - 7 Jan 2025

If it is decided that this PR is a good idea then the same changes need to be made to all other places that the access level field is displayed as a list eg in batch views and list filters

image

image

avatar fgsw
fgsw - comment - 8 Jan 2025

@pe7er Should the Pull Request get a test as continuous-integration/drone/pr — Build is failing?

avatar Tejashrimajage Tejashrimajage - test_item - 22 Feb 2025 - Tested successfully
avatar Tejashrimajage
Tejashrimajage - comment - 22 Feb 2025

I have tested this item ✅ successfully on 4143e2c

Applied this patch and working properly


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44691.

avatar shrutidhole123 shrutidhole123 - test_item - 22 Feb 2025 - Tested successfully
avatar shrutidhole123
shrutidhole123 - comment - 22 Feb 2025

I have tested this item ✅ successfully on 4143e2c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44691.

avatar suvarnakale suvarnakale - test_item - 22 Feb 2025 - Tested successfully
avatar suvarnakale
suvarnakale - comment - 22 Feb 2025

I have tested this item ✅ successfully on 4143e2c

I have tested this item and it is working as expected.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44691.

avatar richard67 richard67 - change - 22 Feb 2025
Labels Added: Feature PR-5.3-dev
avatar richard67 richard67 - alter_testresult - 22 Feb 2025 - Tejashrimajage: Tested successfully
avatar richard67 richard67 - alter_testresult - 22 Feb 2025 - shrutidhole123: Tested successfully
avatar richard67 richard67 - alter_testresult - 22 Feb 2025 - suvarnakale: Tested successfully
avatar richard67
richard67 - comment - 22 Feb 2025

@pe7er System tests are failing with error on changing access levels, so it might be related to this PR, and the system tests need to be adapted.

avatar HLeithner
HLeithner - comment - 4 Mar 2025

This pull request has been automatically rebased to 6.0-dev.

avatar HLeithner HLeithner - change - 4 Mar 2025
Title
[5.3] Accesslevel field - Fancy Select
[6.0] Accesslevel field - Fancy Select
avatar HLeithner HLeithner - edited - 4 Mar 2025
avatar richard67 richard67 - change - 26 Apr 2025
Labels Added: Updates Requested PR-6.0-dev
Removed: PR-5.3-dev
avatar richard67 richard67 - alter_testresult - 26 Apr 2025 - Tejashrimajage: Tested successfully
avatar richard67 richard67 - alter_testresult - 26 Apr 2025 - shrutidhole123: Tested successfully
avatar richard67 richard67 - alter_testresult - 26 Apr 2025 - suvarnakale: Tested successfully
avatar richard67 richard67 - change - 26 Apr 2025
Build 5.3-dev 6.0-dev

Add a Comment

Login with GitHub to post a comment