By Hideto on Wednesday, 08 February 2017
Posted in Technical Issues
Likes 0
Views 409
Votes 0
I need to restrict front-end users so that they cannot edit/update global post templates.
So I set "ACL > Profile > Change Template" to No.

But it's not working.
So I applied the file modification of blog.php, following the instruction here:
https://stackideas.com/forums/restrict-users-from-editing-template

But it's still not working.
When front-end users compose, they can still select "Update This Template".
Is it working on your end?

I'm using the override folder, by the way.
templates/my_template/html/com_easyblog/dashboard/account/blog.php
Hi Hideto,
Do you mean that you want to restrict this to admin users only(http://take.ms/U6k1p)?
Unfortunately, there is no setting to achieve this.
The ACL setting you mentioned is for editing the blog theme in the user's profile, not post template in the composer.
·
Wednesday, 08 February 2017 18:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond,

Yes, I want to restrict "Update This Template" function to admin users only, when it is a global template.

Front-end users cannot tell whether it's global template or personal template, and if they update the global template, it affects all the users. This could be serious issue. At least, they should be alerted that the template modification affects all the users on the site (when it's global template).

Otherwise, I'd like to disable both "Update this template" and "Save as new template" function for all the front-end users.

What would you suggest?
·
Wednesday, 08 February 2017 20:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a public holiday for us here.

It seems like that is a bug, by right other user shouldn't have permission to update the global template if that post template is not created from them.

I will log this issue into our issue tracker.

Can you try download my attached file and replace into this following file so it will temporary disallow frontend user to update the global post template now.

JoomlaFolder/components/com_easyblog/themes/wireframe/composer/revisions/actions.php
·
Thursday, 09 February 2017 16:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, thanks for the file!
It now prevents frontend users to update global post templates
Hope it will be included in the next update.

Thanks,
·
Friday, 10 February 2017 09:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Hideto,
You're welcome. Thanks for your update and input on this.
We have already reported the issue regarding updating global post templates to the devs so a better solution can be applied.
Have a great day ahead.
·
Friday, 10 February 2017 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post