Commit 8de42e0d authored by Gabriel Silva Hermida's avatar Gabriel Silva Hermida
Browse files

Correcao feita


Signed-off-by: Gabriel Silva Hermida's avatarGabriel Silva Hermida <gash18@inf.ufpr.br>
parent ecee8c50
Subproject commit ac1b7c80fc9984fbf4798880ae82c89308d88cf0
Subproject commit 0218b69b045f5b0c11e1eb695d93735a314be66f
......@@ -9,12 +9,11 @@ module.exports = function(Bloco) {
user.getRole((err, role) => {
if(role === "secretario_dpto"){
acl_custom.aclSecretarioDpto(["Bloco","bloco"],ctx,next)}
else if(role === "secretario_setor")
acl_custom.aclSecretarioSetor(["bloco","Bloco"],ctx,next)
})
})
})
}
})
}
else
acl_custom.aclSecretarioSetor(["bloco","Bloco"],ctx,next)
})
};
\ No newline at end of file
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