Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Hubert Felber
Removed guest permission on login portlet
20 maggio 2011 1.13
Risposta

Hubert Felber

Punteggio: Regular Member

Messaggi: 157

Data di Iscrizione: 23 novembre 2009

Messaggi recenti

Hi,
A user accidentally removed guest permission on login portlet, so he cannot login anymore (you do not have the right.....)
Is there a way to recover this? What do you do in such a situation?

Thank you
Hubert
Samuel Kong
RE: Removed guest permission on login portlet
20 maggio 2011 2.01
Risposta

Samuel Kong

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1545

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

Login with an admin account at http://localhost:8080/c/portal/login and re-add the permission.
Hubert Felber
RE: Removed guest permission on login portlet
23 maggio 2011 1.15
Risposta

Hubert Felber

Punteggio: Regular Member

Messaggi: 157

Data di Iscrizione: 23 novembre 2009

Messaggi recenti

Samuel Kong:
Login with an admin account at http://localhost:8080/c/portal/login and re-add the permission.

Samuel,
This does not work, I still get "You don't have the permission to view this page".
Hubert
Samuel Kong
RE: Removed guest permission on login portlet
23 maggio 2011 20.13
Risposta

Samuel Kong

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1545

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

Hubert, please make sure you're signing in with an Administrator user. Administrator users can do everything, so you should not be getting that error.
Colin Spear
RE: Removed guest permission on login portlet
9 aprile 2013 4.52
Risposta

Colin Spear

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 9 aprile 2013

Messaggi recenti

Ok, here's the issue. If you remove the permission for the guest to see login then you can't see the login screen so you can't log in as administrator or anyone else.

I have a similar problem and I'm really trying to find a workaround so that I can log in as Admin and change it back...but so far nothing.
Sandeep Nair
RE: Removed guest permission on login portlet
9 aprile 2013 7.06
Risposta

Sandeep Nair

Punteggio: Liferay Legend

Messaggi: 1721

Data di Iscrizione: 5 novembre 2008

Messaggi recenti

Add the following in your portal-ext.properties

auto.login.hooks=com.liferay.portal.security.auth.ParameterAutoLogin

Restart the server.
In the url append these parameters with your credentials ?parameterAutoLoginLogin=yourscreennameOrEmailAddress&parameterAutoLoginPassword=password

You should be able to login to the site. Revert back whatever permission mixup you had done earlier.

Dont forget to remove the auto.login.hooks property and restart your server once your normal login works fine.

Regards,
Sandeep Nair
Samuel Kong
RE: Removed guest permission on login portlet
11 aprile 2013 20.55
Risposta

Samuel Kong

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1545

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

There's no need to enable parameter login.

You can always access the login page by going to http://localhost:8080/c/portal/login
Sandeep Nair
RE: Removed guest permission on login portlet
12 aprile 2013 7.10
Risposta

Sandeep Nair

Punteggio: Liferay Legend

Messaggi: 1721

Data di Iscrizione: 5 novembre 2008

Messaggi recenti

Yes I agree to that, but I have seen this problem before, wherein even if you do go to /c/portal/login, it redirects you to a page saying you do not have permission(See the above post by Colin on how to replicate it). We had similar cases when an admin by mistake removed the permission and there was no way to login. In that case parameterautologin helped me..
Vishal Pamnani
RE: Removed guest permission on login portlet
9 maggio 2013 2.20
Risposta

Vishal Pamnani

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 15 aprile 2013

Messaggi recenti

Thank you Sandeep. I faced the same problem and your solution got me out of it.
Surodip Patra
RE: Removed guest permission on login portlet
5 giugno 2013 7.03
Risposta

Surodip Patra

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 25 gennaio 2013

Messaggi recenti

Sandeep Nair:
Yes I agree to that, but I have seen this problem before, wherein even if you do go to /c/portal/login, it redirects you to a page saying you do not have permission(See the above post by Colin on how to replicate it). We had similar cases when an admin by mistake removed the permission and there was no way to login. In that case parameterautologin helped me..



It works. Thanks Sandeep