Bug #38836
matrice des permissions/rôles vs rôles techniques
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
08 janvier 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
À mon avis la raison derrière,
Exception: type = '<type 'exceptions.IndexError'>', value = 'list index out of range' Stack trace (most recent call first): File "/usr/lib/python2.7/dist-packages/wcs/admin/settings.py", line 611, in admin_permissions 609 permissions[key] = [] 610 for i, role in enumerate(roles): > 611 permission_row = value[i] 612 if role.allows_backoffice_access != permission_row[0]: 613 role.allows_backoffice_access = permission_row[0]
Fichiers
Révisions associées
settings: fix check for internal role in permission matrix (#38836)
Historique
Mis à jour par Frédéric Péters il y a plus de 4 ans
- Fichier 0001-settings-fix-permission-matrix-to-totally-ignore-int.patch 0001-settings-fix-permission-matrix-to-totally-ignore-int.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a plus de 4 ans
- Statut changé de Solution proposée à Solution validée
Je suis d'accord.
Mis à jour par Frédéric Péters il y a plus de 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 13b2f9ce543a92ff7e6acf93d0325cbd37ed7b71 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Sat Jan 11 09:49:10 2020 +0100 settings: fix permission matrix to totally ignore internal roles (#38836)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
settings: fix permission matrix to totally ignore internal roles (#38836)