discourse/app/models
Osama Sayegh 8979adc3af
FIX: Log user addition/deletion from groups when they're changed via DiscourseConnect (#18677)
Discourse Connect can be used to manage group memberships of users by including a `add_groups`, `remove_groups` or `groups` attribute in the Discourse Connect payload. However, additions/deletions of users from groups aren't logged to the groups logs (available at `/g/<group>/manage/logs`) which can cause confusions to admins they try to figure out when/how users were added or removed from a group. This commit makes Discourse Connect add entries to the groups logs when it makes changes to users' group memberships.
2022-10-25 11:25:26 +03:00
..
concerns
about.rb
admin_dashboard_data.rb
admin_dashboard_general_data.rb
admin_dashboard_index_data.rb
allowed_pm_user.rb
anonymous_user.rb
api_key_scope.rb
api_key.rb
application_request.rb
associated_group.rb
auto_track_duration_site_setting.rb
backup_draft_post.rb
backup_draft_topic.rb
backup_file.rb
backup_location_site_setting.rb
backup_metadata.rb
badge_grouping.rb
badge_type.rb
badge.rb
base_font_setting.rb
bookmark.rb
category_and_topic_lists.rb
category_custom_field.rb
category_featured_topic.rb
category_group.rb
category_list.rb
category_page_style.rb
category_required_tag_group.rb
category_search_data.rb
category_tag_group.rb
category_tag_stat.rb
category_tag.rb
category_user.rb
category.rb
child_theme.rb
color_scheme_color.rb
color_scheme_setting.rb
color_scheme.rb
custom_emoji.rb
developer.rb
digest_email_site_setting.rb
directory_column.rb
directory_item.rb
discourse_connect.rb FIX: Log user addition/deletion from groups when they're changed via DiscourseConnect (#18677) 2022-10-25 11:25:26 +03:00
discourse_version_check.rb
dismissed_topic_user.rb
do_not_disturb_timing.rb
draft_sequence.rb
draft.rb
email_change_request.rb
email_level_site_setting.rb
email_log.rb
email_style.rb
email_token.rb
embeddable_host.rb
embedding.rb
emoji_set_site_setting.rb
emoji.rb
external_upload_stub.rb
given_daily_like.rb
global_setting.rb
group_archived_message.rb
group_associated_group.rb
group_category_notification_default.rb
group_custom_field.rb
group_history.rb
group_manager.rb
group_mention.rb
group_request.rb
group_tag_notification_default.rb
group_user.rb
group.rb
ignored_user.rb
imap_sync_log.rb
incoming_domain.rb
incoming_email.rb
incoming_link.rb
incoming_links_report.rb
incoming_referer.rb
invite_redeemer.rb
invite.rb
invited_group.rb
invited_user.rb
javascript_cache.rb
like_notification_frequency_site_setting.rb
linked_topic.rb
locale_site_setting.rb
mailing_list_mode_site_setting.rb
muted_user.rb
new_topic_duration_site_setting.rb
notification_level_when_replying_site_setting.rb
notification.rb
oauth2_user_info.rb
onboarding_popup.rb
onceoff_log.rb
optimized_image.rb
permalink.rb
plugin_store_row.rb
plugin_store.rb
post_action_type.rb
post_action.rb
post_analyzer.rb
post_custom_field.rb
post_detail.rb
post_hotlinked_media.rb
post_mover.rb
post_reply_key.rb
post_reply.rb
post_revision.rb
post_search_data.rb
post_stat.rb
post_timing.rb
post_upload.rb
post.rb
previous_replies_site_setting.rb
private_message_topic_tracking_state.rb
published_page.rb
push_subscription.rb
quoted_post.rb
remote_theme.rb
remove_muted_tags_from_latest_site_setting.rb
report.rb
reviewable_claimed_topic.rb
reviewable_flagged_post.rb
reviewable_history.rb
reviewable_post.rb
reviewable_priority_setting.rb
reviewable_queued_post.rb
reviewable_score.rb
reviewable_sensitivity_setting.rb
reviewable_user.rb
reviewable.rb
s3_region_site_setting.rb
screened_email.rb
screened_ip_address.rb
screened_url.rb
search_log.rb
shared_draft.rb
shelved_notification.rb
sidebar_section_link.rb
single_sign_on_record.rb
site_setting.rb
site.rb
sitemap.rb
skipped_email_log.rb
slug_setting.rb
stylesheet_cache.rb
tag_group_membership.rb
tag_group_permission.rb
tag_group.rb
tag_search_data.rb
tag_user.rb
tag.rb
theme_field.rb
theme_modifier_set.rb
theme_setting.rb
theme_translation_override.rb
theme.rb
top_lists.rb
top_menu_item.rb
top_topic.rb
topic_allowed_group.rb
topic_allowed_user.rb
topic_converter.rb
topic_custom_field.rb
topic_embed.rb
topic_featured_users.rb
topic_group.rb
topic_invite.rb
topic_link_click.rb
topic_link.rb
topic_list.rb
topic_notifier.rb
topic_participants_summary.rb
topic_poster.rb
topic_posters_summary.rb
topic_search_data.rb
topic_tag.rb
topic_thumbnail.rb
topic_timer.rb
topic_tracking_state.rb
topic_user.rb
topic_view_item.rb
topic.rb
translation_override.rb
trust_level_and_staff_and_disabled_setting.rb
trust_level_and_staff_setting.rb
trust_level_setting.rb
trust_level3_requirements.rb
unsubscribe_key.rb
upload_reference.rb
upload.rb
user_action.rb
user_api_key_scope.rb
user_api_key.rb
user_archived_message.rb
user_associated_account.rb
user_associated_group.rb
user_auth_token_log.rb
user_auth_token.rb
user_avatar.rb
user_badge.rb
user_badges.rb
user_bookmark_list.rb
user_custom_field.rb
user_email.rb
user_export.rb
user_field_option.rb
user_field.rb
user_history.rb
user_ip_address_history.rb
user_notification_schedule.rb
user_open_id.rb
user_option.rb
user_profile_view.rb
user_profile.rb
user_search_data.rb
user_search.rb
user_second_factor.rb
user_security_key.rb
user_stat.rb
user_status.rb
user_summary.rb
user_upload.rb
user_visit.rb
user_warning.rb
user.rb
username_validator.rb
watched_word.rb
web_crawler_request.rb
web_hook_event_type.rb
web_hook_event.rb
web_hook.rb