No Code Attached Yet J4 Issue
avatar orware
orware
11 Apr 2019

Steps to reproduce the issue

I've primarily managed our campus website on my own for the past 10 years and the last 8 or so we've been using Joomla 1.6+ (currently on the latest version of Joomla 3.9.x) and there's been a request to maybe use a separate template for a part of the site.

The only way I've managed to keep things maintainable over the long run with our various users has been to keep the interface simplified, so I currently am using the Joomla ACL so that our staff by default have the ability to login to the backend but wouldn't be able to see any thing at all (this is provided by a Basic Backend Access Group I've setup). Most users would never do that on their own however, so usually the first time they login they've already been assigned a User Group I've created that grants them access to the Categories on the website that they need access to.

So I don't normally try and grant anything else (no Menu/Module/Template related permissions).

With the request that's come up recently, I'm taking a look at the available permissions for the Templates area, and it only appears to have a component-level permission, but does not appear to have a Permissions tab available for any of the Template Styles, which would allow me to create a special template style just for this area and then grant the users access to it.

I believe not too long ago permissions were extended on the Menus side of things (I can't remember if the Modules area was included in that set of updates or if the Permissions have been available there for a longer period of time), so I think what would need to be done is similar, just applied to the Templates component so Permissions can be assigned for each Template Style too.

Expected result

Have an ability to assign Permissions at the individual Template Style level.

Actual result

No Permissions tab is available at the Template Style Level.

System information (as much as possible)

Additional comments

This could potentially be related to my now somewhat old Pull Request located here:
#20508

And Issue here (which was closed after I submitted the Pull Request above last May):
#20506

I've been maintaining the patches there offline for our own install of Joomla so I have patches that are current for Joomla 3.9.5, but one thing I noticed when I was running my tests above is that the Menus and Modules components (and likely Templates too) exhibit the same behavior I fixed in the patches above for com_content / com_categories so that when users have been assigned a limited access group, the other rows are automatically filtered out and not even displayed on the page (the default behavior in Joomla is to continue displaying the rows a user doesn't have access to and just simply grays them out...this I think is due to the way things used to work prior to the introduction of the Joomla ACL, since back then, and now with the default user groups built-in to Joomla...if you have backend access you basically can see the entirety of these areas...with the Joomla ACL now available though, I think it makes a lot of sense to improve the UI by not displaying those unneeded rows to users that don't have access to the records anyway).

avatar orware orware - open - 11 Apr 2019
avatar joomla-cms-bot joomla-cms-bot - change - 11 Apr 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Apr 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 12 Apr 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Apr 2019

@HLeithner can you please comment?

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Apr 2019
Status New Information Required
avatar HLeithner
HLeithner - comment - 25 Apr 2019

It's a feature request and would be j4 related, maybe @orware could help building a PR for J4.

@wilsonge would you have a look?

avatar wilsonge
wilsonge - comment - 7 Aug 2019

Seems like an interesting concept to add asset table entries for template styles. Would also make sense in multilang sites so that only the language admins could edit their template styles. I'd be interested in seeing a PR.

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Aug 2019
Title
Permissions for Individual Template Styles (for Group Assignment)
[4.0] Permissions for Individual Template Styles (for Group Assignment)
avatar franz-wohlkoenig franz-wohlkoenig - edited - 7 Aug 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Aug 2019
Labels Added: J4 Issue
Removed: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 7 Aug 2019
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 7 Aug 2019
avatar Gnevyshev
Gnevyshev - comment - 21 Dec 2019

I join this question! I want to be able to set the access level for the templates!

avatar alikon
alikon - comment - 3 Feb 2020

Closing this due to not receiving required information to determine if this is a bug or not. If you feel this still needs review, please open a new tracker entry with as much information as possible to ensure it can be reviewed properly

avatar alikon alikon - close - 3 Feb 2020
avatar alikon alikon - change - 3 Feb 2020
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2020-02-03 19:23:55
Closed_By alikon
avatar brianteeman
brianteeman - comment - 3 Feb 2020

@alikon This was not a bug report it was a valid feature request

avatar brianteeman brianteeman - change - 3 Feb 2020
Status Closed New
Closed_Date 2020-02-03 19:23:55
Closed_By alikon
avatar brianteeman brianteeman - reopen - 3 Feb 2020
avatar ceford
ceford - comment - 27 Oct 2020

It is not clear what the users will be allowed to do with their permissions. At the moment, users can choose a style from those available. If you are creating the style they should be able to use it. I should imagine that allowing multiple users to change styles could lead to bun fights.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24560.

avatar alikon
alikon - comment - 19 Nov 2022

as it is not a bug but a

a valid feature request

let's move it to discussion

avatar alikon alikon - change - 19 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-19 08:18:48
Closed_By alikon
Labels Added: No Code Attached Yet
Removed: ?
avatar alikon alikon - close - 19 Nov 2022

Add a Comment

Login with GitHub to post a comment