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

mmd notifications at github.com
Sat Oct 21 08:26:19 UTC 2023


@mmd-osm 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

I agree it's more convenient for a developer. On the other hand, mods need to be extra careful when authorizing apps, since there will be no control on who can request this permission for their app.



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

Message ID: <openstreetmap/openstreetmap-website/pull/4301/review/1691214579 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231021/104b109d/attachment.htm>


More information about the rails-dev mailing list