Changed HasAccess from table to view