Commit 5e9aebc2 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction pour eviter de mettre le role sur l'administrateur (existe déjà)

parent 32cc5876
......@@ -90,7 +90,8 @@ class MigrationPrivilegesServiceEditionMasse extends AbstractMigration
JOIN role_privilege rp ON rp.role_id = AND rp.privilege_id = (
SELECT FROM privilege p
JOIN categorie_privilege cp ON = p.categorie_id AND cp.code = 'enseignement'
WHERE p.code = 'edition')
WHERE p.code = 'edition')
JOIN role r ON rp.role_id = AND r.code != 'administrateur'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment