Commit 99876a1d authored by Pedro Henrique's avatar Pedro Henrique
Browse files

fix edit permissions for adm c3sl

Signed-off-by: Pedro Henrique's avatarPedro Henrique! <>
parent 2d85873e
......@@ -1090,6 +1090,9 @@ end
def can_edit?(professional)
if @currentProfessionalServicePlace.role === "adm_c3sl"
return true
if professional.administradorc3sl?
return false
elsif @currentProfessionalServicePlace.role != "adm_c3sl"
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