Check the permission when retrieving user's permission. bugid:110269