? Success

User tests: Successful: Unsuccessful:

avatar ggppdk
ggppdk
14 Mar 2018

Summary of Changes

Please check out here
https://github.com/joomla/joomla-cms/blob/staging/plugins/editors/tinymce/tinymce.php#L138

and you will see that default value for $asset is null

If you try to create an HTML editor area, using

$editor  = JFactory::getEditor('somename');
echo $editor->display( ... $_asset = null, ...);

for a user that has soft DENY (= 'not-set / inherit') for 'Create' in global permission but the user has 'Create' for an extension

then the 'image' editor XTD button will not show
that is because since J3.7.0 the check for falling back to component asset was made strict

a8bb66b#diff-7d40cca371daf67980431c91be993f26L43
a8bb66b#diff-7d40cca371daf67980431c91be993f26R51

Testing Instructions

Try to create an editor area for a user that only has submit 'Create' for a component and no other ACL privileges and also the user has soft DENY for create ('not-set / inherit') in Global permissions for create

Expected result

The image XTD button is shown
because user can open new record form

Actual result

The image XTD button is not shown

Documentation Changes Required

none

avatar ggppdk ggppdk - open - 14 Mar 2018
avatar ggppdk ggppdk - change - 14 Mar 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2018
Category Front End Plugins
avatar ggppdk ggppdk - change - 14 Mar 2018
The description was changed
avatar ggppdk ggppdk - edited - 14 Mar 2018
avatar ggppdk ggppdk - change - 14 Mar 2018
The description was changed
avatar ggppdk ggppdk - edited - 14 Mar 2018
avatar laoneo laoneo - change - 24 Mar 2022
Labels Added: ?
Removed: ?
avatar laoneo laoneo - close - 24 Mar 2022
avatar laoneo
laoneo - comment - 24 Mar 2022

If this pr is still valid for Joomla 3.10, can you update your testing instructions, as they are hard to understand for an average user? In the meantime I'm closing it, when ready, please reopen it again. Thanks for your contribution and help making Joomla better.

avatar laoneo laoneo - change - 24 Mar 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-03-24 14:59:31
Closed_By laoneo

Add a Comment

Login with GitHub to post a comment