Changed GetPermission for return permission properly
Fix GetPermission problem of infering Grant for Grant and Deny for a user in different roles.