FIX: Show membership requests link just for group owners. (#7543)

This commit is contained in:
Bianca Nenciu
2019-08-06 13:28:22 +03:00
committed by GitHub
parent 4ae8065f2c
commit b60b2a342f
5 changed files with 48 additions and 12 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class TopicView
end
def self.default_post_custom_fields
@default_post_custom_fields ||= ["action_code_who", "notice_type", "notice_args"]
@default_post_custom_fields ||= ["action_code_who", "notice_type", "notice_args", "requested_group_id"]
end
def self.post_custom_fields_whitelisters