Project

General

Profile

Bug #38836

matrice des permissions/rôles vs rôles techniques

Added by Frédéric Péters about 1 month ago. Updated 24 days ago.

Status:
Solution déployée
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08 Jan 2020
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

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]

0001-settings-fix-permission-matrix-to-totally-ignore-int.patch View (1001 Bytes) Frédéric Péters, 11 Jan 2020 09:49 AM

Associated revisions

Revision 13b2f9ce (diff)
Added by Frédéric Péters about 1 month ago

settings: fix permission matrix to totally ignore internal roles (#38836)

Revision 863ce368 (diff)
Added by Frédéric Péters about 1 month ago

settings: fix check for internal role in permission matrix (#38836)

History

#1 Updated by Frédéric Péters about 1 month ago

#2 Updated by Thomas Noël about 1 month ago

  • Status changed from Solution proposée to Solution validée

Je suis d'accord.

#3 Updated by Frédéric Péters about 1 month ago

  • Status changed from Solution validée to 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)

#4 Updated by Frédéric Péters 24 days ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF