Commit ceb4d83a 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 6080f5f9
......@@ -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'
Supports Markdown
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