Super User can't access menu/articles resticted to Registered Topic is solved

Need help with the Administration of your Joomla! 5.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
F30d0r
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue May 09, 2023 11:27 am

Super User can't access menu/articles resticted to Registered

Post by F30d0r » Fri Feb 23, 2024 3:24 pm

Hi,

I have Joomla 5.0.3 installed.

A menu item and articles of a certain category are only accessible for "registered" users only. However, I as a "Super User" cannot see the menu or the articles!

I thought that the reason for this was that "Super User" does not inherit from "Registered". So I made "Registered" the parent of "Registered" and --- no success!

Why can't I see everything as Super User?

Kind regards
Feodor

F30d0r
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue May 09, 2023 11:27 am

Re: Super User can't access menu/articles resticted to Registered

Post by F30d0r » Fri Feb 23, 2024 4:28 pm

Further information:
  • The simple website in question: https://tsc-rossdorf.de/
  • Whether PHP 8.1 or 8.3 makes no difference.
  • Apart from Akeeba, no extra extensions are installed.
  • The template is Cassiopeia.
  • More basic is not possible if one does not have shell access for automated backups.
  • Everything else works.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44062
Joined: Sat Apr 05, 2008 9:58 pm

Re: Super User can't access menu/articles resticted to Registered

Post by Webdongle » Fri Feb 23, 2024 5:01 pm

You need to undo what you did, User Groups inherit Permissions not Access/View levels. Super Users will loose the inherited Permissions if Manager is not the parent!!!
Then make sure Super Users is selected in 'Registered' user access/view level

https://docs.joomla.org/J3.x:Access_Con ... _and_Doing
Applies to all versions of Joomla
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

F30d0r
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue May 09, 2023 11:27 am

Re: Super User can't access menu/articles resticted to Registered

Post by F30d0r » Sat Feb 24, 2024 12:05 pm

Webdongle wrote:
Fri Feb 23, 2024 5:01 pm
You need to undo what you did, User Groups inherit Permissions not Access/View levels. Super Users will loose the inherited Permissions if Manager is not the parent!!!
Then make sure Super Users is selected in 'Registered' user access/view level
https://docs.joomla.org/J3.x:Access_Con ... _and_Doing
Applies to all versions of Joomla
Thank you for your answer, Webdongle. You mentioned that "Manager" has to be the parent of "Super User". This confuses me since "Public" instead of "Manager" is the parent of "Super User" by default in Joomla5. This user group hierachy screenshot is from another vanilla Joomla 5 where nothing has been changed:
Image

Here is a screenshot of the viewing access levels of the website under study:
Image
This is the default configuarion! I have now learned that access levels should be a completely different category than group permissions. However, identical names are used on default. This seems confusing to me.

Furthermore the screenshot shows that "Super User" has viewing access to the access level named "Registered". Why is it then possible that Super User can't see a menu item with access level "Registered".
This screenshot shows the menu item:
Image

When I am logged in as superuser in the backplane, this menu item ist still hidden.

What am I missing? Do I always have to log in to the front end to see the item? This would be very inconvenient.

Kind regards

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44062
Joined: Sat Apr 05, 2008 9:58 pm

Re: Super User can't access menu/articles resticted to Registered

Post by Webdongle » Sat Feb 24, 2024 3:44 pm

My bad yes it is administrators that have 'Manager' as parent. However still stands that Permissions not view/access levels that are not inherited.

What user are you using to take a screenshot of the menu item the Super User can't see?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

F30d0r
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue May 09, 2023 11:27 am

Re: Super User can't access menu/articles resticted to Registered

Post by F30d0r » Sat Feb 24, 2024 4:40 pm

I got a hint in the German forum which I present here.

One first has to realize that the backend login has no effect on view access to website elements by default. Those who already know this probably take it for granted.

It's about the "Shared Sessions" switch. If it is on, this seems to have the same effect as if you were logging into the frontend at the same time as logging into the backend. Due to the implicit frontend login, elements are also displayed according to the access level configuration. The switch can be accessed in the backend via

System -> Global Configuration -> System -> Session -> Shared Sessions

In configuration.php this corresponds to the variable $shared_session, which can be set to true or false.

Kind regards

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44062
Joined: Sat Apr 05, 2008 9:58 pm

Re: Super User can't access menu/articles resticted to Registered

Post by Webdongle » Sat Feb 24, 2024 7:28 pm

If you Have shared login then login admin logs you in frontend as well.
or
You you don't have shared login and log in frontend with the same User
Then the outcome is the same, the same view/access levels apply to both scenarios.

Check Users >>> View/access level 'Registered' has Super Admin selected.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “Administration Joomla! 5.x”