[openstreetmap/openstreetmap-website] Add a CanCanCan ability to see redacted versions (PR #4553)
Anton Khorev
notifications at github.com
Sat Jul 6 14:22:34 UTC 2024
@AntonKhorev commented on this pull request.
> @@ -54,6 +54,7 @@ def initialize(user)
can [:index, :create, :destroy], UserMute
if user.moderator?
+ can :show_redactions, [Node, Way, Relation, OldNode, OldWay, OldRelation]
https://github.com/openstreetmap/openstreetmap-website/pull/4553/commits/012e752c0eae9450ff4ddf6083ad729779fd6eab
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4553#discussion_r1667374185
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4553/review/2161537676 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240706/95cb2774/attachment-0001.htm>
More information about the rails-dev
mailing list