?
avatar LukasHH
LukasHH
26 Jan 2021

Steps to reproduce the issue

I have created a separate user group below "registered" and allowed it to log in to the backend.
screen shot 2021-01-26 at 19 41 44

The user can also log in to the backend. But for the logout the logout button or the menu item is missing.
screen shot 2021-01-26 at 19 41 46

Expected result

Show the lougout button or the user menu item with logout

Actual result

only show the menu item to the frontend

Additional comments

If I move the user group under author, then the logout / user menu is displayed.

avatar LukasHH LukasHH - open - 26 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Jan 2021
avatar LukasHH LukasHH - change - 26 Jan 2021
Title
Logout missing in backend
[4.0.0-beta6] Logout missing in backend
avatar LukasHH LukasHH - edited - 26 Jan 2021
avatar wilsonge
wilsonge - comment - 26 Jan 2021

This is related to the module being assigned to the "special" view access level. The group is not in that access level. I'm unsure whether to mark this as expected behaviour or if it's a release blocker xD .

I think we probably need to display some sort of logout button in all cases because the user is actually trapped in the backend in the current scenario.

@HLeithner @bembelimen interested to hear your opinions here.

avatar wilsonge wilsonge - change - 26 Jan 2021
Labels Added: ?
avatar wilsonge wilsonge - labeled - 26 Jan 2021
avatar brianteeman
brianteeman - comment - 26 Jan 2021

I'm sure we had this issue before. Its one of those limitations of our acl system and is expected behaviour of the system. However you're right that a user should always have a way to log out. As its a module in J4 I would just make it public view access level

avatar chmst
chmst - comment - 27 Jan 2021
avatar brianteeman
brianteeman - comment - 27 Jan 2021

Thanks for the reminder @chmst

avatar LukasHH
LukasHH - comment - 27 Jan 2021

The module "mod_user" with the title "User Status" must be set to public, then the logout is displayed. This should be set as the default setting.

Then here is another problem with the link "Edit Profile". The user can call the link, but there are no buttons for cancel or save. I believe this has already been reported.


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

avatar chmst
chmst - comment - 27 Jan 2021

When reported this years ago, I was told simply to set user rights correctly when I grant access to users.


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

avatar brianteeman
brianteeman - comment - 27 Jan 2021

I guess it could be set to public by default AND remove the ability for it to be included in the login.php template

avatar HLeithner
HLeithner - comment - 27 Jan 2021

I'm pretty sure with have 100 others situations where the user can shot in his own foot. Setting this to public would mean it could be seen on the login.php as mentioned by brian. Maybe there are much more pitfalls.

Don't see it as release blocker and would only fix it if it's easy to fix without hardcoding it. Looking at the auth plugins or other system plugins the situations is much worse then "I can't logout when I create a new group". There may be more defaults that have to be reconsidered if you want to give backend access to a frontend group.

avatar brianteeman
brianteeman - comment - 27 Jan 2021

... and you can always create a custom admin menu to logout

avatar chmst
chmst - comment - 27 Jan 2021

It feels as a bug if it happnes to a user and will be reported again and again. But I don't see it as release blocker. The worst what can happen is waiting until the session has expired.

avatar LukasHH
LukasHH - comment - 27 Jan 2021

I don't see this as a release blocker either. if you know how to handle it, then it's ok. But it's not really intuitive at the moment.

avatar wilsonge wilsonge - change - 27 Jan 2021
Labels Removed: ?
avatar wilsonge wilsonge - unlabeled - 27 Jan 2021
avatar wilsonge
wilsonge - comment - 27 Jan 2021

I wasn’t sure if it was a regression on j3 behaviour. Happy to remove release blocker tho if we all agree ?

avatar Fedik
Fedik - comment - 27 Jan 2021

The same issue in joomla3,
When you create a custom group, the group should be in Special "view access lvl" to be able to see most of backend modules

It more about configuration. but agree that logout should be always visible

avatar wilsonge
wilsonge - comment - 27 Jan 2021

In that case I'm going to close this as a duplicate of #28804 as they both describe the same issue (and the other one is older). I've also given it a priority bump in the tracker

avatar wilsonge wilsonge - change - 27 Jan 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-01-27 23:03:20
Closed_By wilsonge
avatar wilsonge wilsonge - close - 27 Jan 2021

Add a Comment

Login with GitHub to post a comment