[openstreetmap/openstreetmap-website] Add UserMute to control private message visibility (PR #4284)
Andy Allan
notifications at github.com
Thu Oct 26 19:49:14 UTC 2023
@gravitystorm commented on this pull request.
> @@ -47,13 +47,14 @@ def initialize(user)
can [:show], :dashboard
can [:new, :create, :edit, :update, :comment, :subscribe, :unsubscribe], DiaryEntry
can [:make_friend, :remove_friend], Friendship
- can [:new, :create, :reply, :show, :inbox, :outbox, :mark, :destroy], Message
+ can [:new, :create, :reply, :show, :inbox, :outbox, :muted, :mark, :unmute, :destroy], Message
> I must admit: Thats something I would not feel comfortable with experimenting in the scope of this PR :)
Sure, no worries! I just thought I would ask.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4284#discussion_r1373741602
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4284/review/1700535455 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231026/ab8a60f1/attachment-0001.htm>
More information about the rails-dev
mailing list