Updated secure permissions to version from fork. REOL-37