Fixing activitats permissions