Resolved "You don't have permission" issue for the view only classes