? ? Pending

User tests: Successful: Unsuccessful:

avatar ggppdk
ggppdk
11 Jun 2018

Pull Request for Issue #20605

Summary of Changes

  1. Add support for option `useaccess="1" ' to form field element 'plugins' (class JFormFieldPlugins)
    \libraries\joomla\form\fields\plugins

  2. Use the above option in the form XML for profile edit screens
    (frontend: /components/com_users/models/forms/frontend.xml)
    (backend: /administrator/components/com_users/models/forms/profile.xml)

Testing Instructions

After installing patch

  1. Set codemirror to access 'Customer Access Level (Example)'
  2. Login backend and frontend as super admin (or with some other account that does not have the access level 'Customer ....'
  3. Click to "edit account" in backend or "Your profile" menu link in frontend
  4. Go to Basic Settings (Fieldset or Tab) and try to select editor. Verify that codemirror is no longer shown

Expected result

A user editing its own profile,
should not be able to select an editor that has an non-granted access level

thus in the above case the codemirror should not be shown

Actual result

Codemirror option is shown inside the select editor drop-down and it is selectabe

Documentation Changes Required

Yes
document new optio here (and elsewhere):
https://docs.joomla.org/Plugins_form_field_type
useaccess set to 1 to only list plugins with an allowed access level for current usertext for the form field.

avatar ggppdk ggppdk - open - 11 Jun 2018
avatar ggppdk ggppdk - change - 11 Jun 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jun 2018
Category Administration com_admin Front End com_users Libraries
avatar jurihahn jurihahn - test_item - 11 Jun 2018 - Tested successfully
avatar jurihahn
jurihahn - comment - 11 Jun 2018

I have tested this item successfully on f136619

Tested on clean Joomla 3.8.8


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

avatar ggppdk ggppdk - change - 11 Jun 2018
The description was changed
avatar ggppdk ggppdk - edited - 11 Jun 2018
avatar carlitorweb carlitorweb - test_item - 15 Jun 2018 - Tested successfully
avatar carlitorweb
carlitorweb - comment - 15 Jun 2018

I have tested this item successfully on f136619


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

avatar Quy Quy - change - 15 Jun 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 15 Jun 2018

RTC


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

avatar ggppdk ggppdk - change - 16 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jun 2018
Category Administration com_admin Front End com_users Libraries Unit Tests Administration com_admin com_config com_menus Language & Strings Modules Repository Front End com_banners com_finder com_newsfeeds com_tags com_users Libraries
avatar ggppdk ggppdk - change - 16 Jun 2018
Labels Added: ? ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jun 2018
Category Administration com_admin Front End com_users Libraries Unit Tests com_config com_menus Language & Strings Modules Repository com_banners com_finder com_newsfeeds com_tags Administration com_admin Front End com_users Libraries
avatar ggppdk ggppdk - change - 16 Jun 2018
Labels Removed: ? ?
avatar mbabker mbabker - change - 18 Jun 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-06-18 02:49:52
Closed_By mbabker
avatar mbabker mbabker - close - 18 Jun 2018
avatar mbabker mbabker - merge - 18 Jun 2018

Add a Comment

Login with GitHub to post a comment