Merge "[permission manager] fix permission check logic" into rvc-dev