Projet

Général

Profil

Development #5925

Allow users to manage their federations on the /accounts page

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:
10 novembre 2014
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

It should be enable throug a key named A2_PROFILE_USER_CAN_MANAGE_FEDERATIONS; each IdP backend is reponsible to choose which federation can be managed and how to manage it.

For SAML 2.0 we should add a new key to LibertyServiceProvider to authorize deleting a federation.


Fichiers

Révisions associées

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

Add settings key A2_PROFILE_CAN_MANAGE_FEDERATION (refs #5925)

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

Add field LibertyServiceProvider.users_can_manage_federations (refs #5925)

It states whether users can create/delete their federation.

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

Move all idp templates to authentic2 templates (refs #5925)

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

Add federation management to profile page (fixes #5925)

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

Update french translations (refs #5925)

Historique

#2

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

  • Fichier 0004-Add-federation-management-to-profile-page-fixes-5925.patch supprimé
#3

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

Do not show the federation management buttons if option is disabled.

#4

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

  • Patch proposed changé de Non à Oui
#5

Mis à jour par Serghei Mihai il y a plus de 9 ans

Ack.

#6

Mis à jour par Frédéric Péters il y a plus de 9 ans

    def delete(self, request, *args, **kwargs):
        # check current user owns this federation
        self.object = self.get_object()
        self.object.user = None
        self.object.save()

I am not that sure about the comment.

#7

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
#8

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

  • Version cible mis à 2.1.12
#9

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

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

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

  • Statut changé de Fermé à Solution déployée
#11

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

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF