| Restrict Front-End Editing |
|
Let's say you want to restrict editing to the "Joomla Overview" article that comes with a default installation of Joomla. Its URL for VIEWING is:
index.php?option=com_content&view=article&id=19
Its URL for EDITING is:
index.php?option=com_content&view=article&id=19&task=edit
So, in JUGA>>Site Items, if you filter by "19" and in thedropdowns do "Front-End" and "com_content", you should have at leastthe VIEWING Site Item with the query:
option=com_content&id=19&view=article
(JUGA makes the query alphabetical by variable name, so don't worry that it's in a different order than on your front-end) As you know, you can restrict access to who can VIEW this article byassigning JUGA groups to this Site Item. If you want the public to beable to view the article without restriction, then assign this VIEWINGSite Item to Public Access. If you do not have a JUGA Site Item entry for this article with 'task=edit' in the 'query' field, a query that looks like this:
option=com_content&id=19&task=edit&view=article
then you should create one (here is the HowTo for creating Site Items) to assign JUGA groups to it. It's settingswill be exactly the same as the VIEWING Site Item except you will needto change the query to have the 'task=edit' part. If you want only Editors to be able to edit this article, then assign"Editors" to this Site Item. Do NOT assign Public Access to thisEDITING Site Item because that means you are allowing ALL users (whoare editors or above in the Joomla ACL system) to be able to edit it. Now you've successfully assigned editing rights to that article. BUT, you will ALSO need to RESTRICT editing rights for ALL of your OTHER articles as well. This is because as an Editor, Joomla grants the userediting rights to everything on your site, but by creating an EDITINGSite Item for all the other articles and restricting them, you canprevent a user from being able to edit them. So, you just need to repeat this process for all of your other articles. HTH! |