-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Add access checks to the plugin parameter #8147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
plugins/editors/tinymce/tinymce.xml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you change this for a reason?
TinyMCE is owned by Ephox Corporation since some versions ;) see: http://blog.tinymce.com/2015/06/23/we-are-joining-ephox-the-start-of-something-great/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh wrong line but i think the other lines here needs to be reverted as well ;)
|
@zero-24 yep, I used the original Joomla! header (from 3.4.5), so yeah, I reverted it. Thanks |
|
I also fixed the missspelled "colour => color" |
|
I have tested this item ✅ successfully on 2bd8ed6 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
Just marked as new feature for 3.5.0 looks great to me. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
maybe we need to update the description as well? Currently we have there: Something like This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
I have tested this item ✅ successfully on 2bd8ed6 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
YES! Thanks @bembelimen. Looks like tinyMCE is set to regain it’s lost reputation… |
|
@bembelimen, @zero-24, @DGT41 I would like to hear your opinion on whether it is a good idea to change all language strings for the affected fields or just extend the following message to e.g. Extended Mode Options On second thought I'd like to change all message and even remove the redundant "Only applies / works in Extended mode" suffix. What do you think? |
|
I like the idea of removing "only applies..." on each field with the extended headline. But I'm not sure, if you can leave the other description on every field: |
|
@matrikular the three levels (basic, advance and extended) was a way to get different levels of permission (also served as a way to quickly setup the editor) to user needs. With this PR this is totally useless and what would make sense is to restructure the plugin so each plugin and button can be assigned to certain access level. But then again that would break B/C? |
|
To make the other levels useless, we have to add the permissions to every button. But yeah, if we do that, it will totaly breaks B/C and this feature will come not before 4.x. If this PR will be accepted, I'll try to extend the plugin to support all buttons and (perhaps) move them on the toolbar (for J! 4.x) |
Update language file as proposed in joomla#8147 Thanks @matrikular
|
This PR has received new commits. CC: @DGT41, @matrikular, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
@matrikular improved and fixed the language strings. |
|
This PR has received new commits. CC: @DGT41, @matrikular, @zero-24 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
@test successful |
|
@bembelimen can you rebase this one to 3.5-dev? The code for tinymce.php is a lot different is the two repos (staging and 3.5-dev). I would test it immediately! |
|
@bembelimen Forget my last comment |
|
I have tested this item ✅ successfully on 30adc4a This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
@bembelimen can you resync it, as it got conflicts right now? |
|
It shouldn't be rebased to 3.5-dev as we only use staging now. Only need the conflicts merged and we are ready to merge. |
|
Thank you @bembelimen and testers. Solved conflicts and merged with b269c7b! |
|
This was merged - looks like the tracker didnt close This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
Stupid bot This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8147. |
|
Set to "closed" on behalf of @infograf768 by The JTracker Application at issues.joomla.org/joomla-cms/8147 |
|
hmm |
|
CLOSED! |
At the moment every user gets the same tinyMCE button structure, regardless of his/her permissions/access level.
With this patch, all buttons from the complete mode can be linked to an access level, so you can customise the editor by access level.
Test: