Restaurar set_permissions

Restaurar set_permissions
Merge branch 'master' of https://github.com/Innoto/cogumelo