Login As Link

28 views
Skip to first unread message

Garth Beebe

unread,
Jul 12, 2021, 5:22:59 PMJul 12
to dotCMS User Group

Hi All!

I'm new to dotCMS and have been playing around in our Dev area with a new install. We plan to allow clients manage the images and other content for their micro-sites which would require them to log into the admin site.

I created 2 different test sites. I logged into one using a client specific credentials tied to their site. I noticed a link named "Login As" appears when you click on the letter in the upper right hand corner of the screen. When i click on that link i see a different screen with a drop-down. I click on the drop-down and i see all users, not just the one created for the specific site.

I tried removing the "Role Granted" = system->login as from the user under system menu item logged in as admin. I logged out and logged back in as the user, not admin. i still see the link even though i removed it.

How do i remove the link "Login As" for a specific client?

Something else seems odd as well. The client admin account can see all users listed as well under system->users. However, they can not click into the accounts. That's a good thing!

How do i limit the client admin account to only see user tied to that specific site and content?

I've been reading through what dotCMS has on there site related to roles\permissions, so has a number of other people in my BU, but i feel like I'm missing something.

thanks,
Garth




jonathan...@dotcms.com

unread,
Jul 13, 2021, 2:37:30 PMJul 13
to dotCMS User Group
I think the portals could be configured on role and tools, you can add or remove layouts to a role, so you can remove the users portlet to those accounts that should not access to it.

Nathan Keiter

unread,
Jul 13, 2021, 3:34:53 PMJul 13
to dotCMS User Group
Login As is controlled by the "Login As?" System role.


Did you flush the cache after you made the change? Your user could still have the role in cache.


Maybe flush the permissions cache and the role cache? Or flush all caches if this is a dev environment.


Cache should be flushed after any role or permissions change.

Nathan I. Keiter | Lead Network Applications Programmer
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>
________________________________
From: dot...@googlegroups.com <dot...@googlegroups.com> on behalf of jonathan...@dotcms.com <jonathan...@dotcms.com>
Sent: Tuesday, July 13, 2021 2:37 PM
To: dotCMS User Group
Subject: [dotcms] Re: Login As Link

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
--
http://dotcms.com<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,wiLUgczPvMPfoZF7TGYTI7_fpH45dVZGnYHzcVn03BMWuugsEF5nf7Tuf4VVV6VSkwQx5DtZYiEDrr40ugF7JmHrXi6zWHOYtAwlVN6Bi9QPtGcP&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6d25c317-e89e-4739-8021-2e9d37579ae6n%40googlegroups.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f6d25c317-e89e-4739-8021-2e9d37579ae6n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,mMX5oiwFmqRB4gQWD2M9v14Ec8cSUW9fLNNTKuVGLgeSlG3QjShnaUHDvwTxZ79xrkEDHDKW_7vyZfVryaS-vCeRSMPFk-qXoCNpUS8_lVeH&typo=1>.

Garth Beebe

unread,
Jul 13, 2021, 3:54:00 PMJul 13
to dot...@googlegroups.com
Thank you Jonathan and Nathan for your response.

Nathan,
I did not flush the cache. I'll see if that works.

Kind regards,
Garth

--
http://dotcms.com - Open Source Java Content Management

---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1626204888355.34171%40gettysburg.edu.
Reply all
Reply to author
Forward
0 new messages