Improve validation for permission of DWQA