Development #5925
Allow users to manage their federations on the /accounts page
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
Add field LibertyServiceProvider.users_can_manage_federations (refs #5925)
It states whether users can create/delete their federation.
Move all idp templates to authentic2 templates (refs #5925)
Add federation management to profile page (fixes #5925)
Update french translations (refs #5925)
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Fichier 0001-Add-settings-key-A2_PROFILE_CAN_MANAGE_FEDERATION-re.patch 0001-Add-settings-key-A2_PROFILE_CAN_MANAGE_FEDERATION-re.patch ajouté
- Fichier 0002-Add-field-LibertyServiceProvider.users_can_manage_fe.patch 0002-Add-field-LibertyServiceProvider.users_can_manage_fe.patch ajouté
- Fichier 0003-Move-all-idp-templates-to-authentic2-templates-refs-.patch 0003-Move-all-idp-templates-to-authentic2-templates-refs-.patch ajouté
- Fichier 0004-Add-federation-management-to-profile-page-fixes-5925.patch ajouté
- Fichier 0005-Update-french-translations-refs-5925.patch 0005-Update-french-translations-refs-5925.patch ajouté
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Fichier
0004-Add-federation-management-to-profile-page-fixes-5925.patchsupprimé
Mis à jour par Benjamin Dauvergne il y a plus de 9 ans
- Fichier 0004-Add-federation-management-to-profile-page-fixes-5925.patch 0004-Add-federation-management-to-profile-page-fixes-5925.patch ajouté
Do not show the federation management buttons if option is disabled.
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.
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
Appliqué par commit de22b95ed6a94a2e58332a8436870ffcacac71bb.
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Résolu (à déployer) à Fermé
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Fermé à Solution déployée
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Solution déployée à Fermé
Add settings key A2_PROFILE_CAN_MANAGE_FEDERATION (refs #5925)