fix deprecation bug;
moderator can only edit visible_to;