[openstreetmap/openstreetmap-website] Add user block api call (PR #4301)
Anton Khorev
notifications at github.com
Fri Oct 20 14:35:06 UTC 2023
@AntonKhorev 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
It wouldn't. For example, I need this feature for [osm-revert-scripts](https://github.com/woodpeck/osm-revert-scripts). You can run these scripts on OpenHistoricalMap too. I've registered an app there, but I don't have mod/admin permissions.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4301#discussion_r1367062468
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4301/review/1690186591 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231020/cce5c163/attachment.htm>
More information about the rails-dev
mailing list