[openstreetmap/openstreetmap-website] Add user block api call (PR #4301)

Andy Allan notifications at github.com
Fri Oct 20 14:26:52 UTC 2023


@gravitystorm commented on this pull request.



> @@ -1,7 +1,7 @@
 module Oauth
   SCOPES = %w[read_prefs write_prefs write_diary write_api read_gpx write_gpx write_notes].freeze
   PRIVILEGED_SCOPES = %w[read_email skip_authorization].freeze
-  OAUTH2_SCOPES = %w[openid].freeze
+  OAUTH2_SCOPES = %w[write_blocks openid].freeze

Possibly. But on the other hand, moderator permissions come and go, and for example I could develop and register an app for use by moderators, despite not being a moderator (or admin) myself.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4301#discussion_r1367052414
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4301/review/1690170298 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231020/04824d6d/attachment-0001.htm>


More information about the rails-dev mailing list