Fixing roles for editing templates

--HG--
extra : source : dc1de52f11825184d34d08c7f48752423b575286