added rcpermissions hook into vault