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

fix edit permissions for adm c3sl

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