Projet

Général

Profil

Bug #6145

Login page should always be shown when accessed

Ajouté par Benjamin Dauvergne il y a plus de 9 ans. Mis à jour il y a environ 9 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
12 décembre 2014
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Currently there is an automatic redirect to the next parameter or the LOGIN_REDIRECT_URL setting when user is already logged and is accessing the login page. It has two unfortunate consequences:
  • when you are already logged but are redirected to the login page for missing a permission, it creates a redirection loop
  • it's impossible to require an higher level of authentication (for example to request SSL authentication in a login/password opened session)

So the login page should always be shown but when coming from views requiring some specific permissions, there should be an error message shown explaining the missing permission. It should also be possible to restrict the used frontend for authentication.


Fichiers

0001-Always-show-the-login-page.patch (897 octets) 0001-Always-show-the-login-page.patch Benjamin Dauvergne, 12 décembre 2014 16:57

Révisions associées

Révision b564e15b (diff)
Ajouté par Benjamin Dauvergne il y a plus de 9 ans

Always show the login page

fixes #6145

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 9 ans

#2

Mis à jour par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

Good for me

#3

Mis à jour par Benjamin Dauvergne il y a plus de 9 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#4

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Version cible mis à 2.1.12
#5

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF