Added permissions on secure permissions module. Ticket #118