Adds permissions and filtering for flagged groups