Do not compare object equality when checking for permissions