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
Limit frontend article category edit to Publishers and up #24640
Conversation
@ThomasK0lasa please test. |
Works as supposed to. Thank You. :) |
@ThomasK0lasa please mark your test as successfully > https://docs.joomla.org/Testing_Joomla!_patches#Recording_test_results |
I have tested this item This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24640. |
@Webdongle please test. |
I have tested this item This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24640. |
@infograf768 can this be RTC or need retest of @ThomasK0lasa ? |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24640. |
@ron4mac does this work for you too? |
thx |
Pull Request for Issue #24626
Summary of Changes
Instead of preventing anyone from modifying the category when editing an already saved article in frontend, this PR allows Publishers and up to do so (edit.state).
Testing Instructions
Create an article as Author in frontend (category can be chosen until article saved).
Publish the article (through backend or frontend)
Log as author and edit the article: the category field is greyed.
Log as Publisher and edit the article: the category field is also greyed.
Patch and retest
After patch
When logging as Publisher, the category field can be modified.
Note
We could also add a new parameter as proposed here:
#24216 (comment)
Which would re-instate as default editing category by Author (edit.own)