[openstreetmap/openstreetmap-website] Add allow_read_email oauth permission (#1431)
notifications at github.com
Wed Feb 8 21:57:30 UTC 2017
Most social networks and other OAuth providers allow users to opt in to providing their email addresses to third-party services. This PR adds an `allow_read_email` OAuth permission, which adds a `<email>what at ever.com</email>` into the `/user/details` API output.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Add allow_read_email oauth permission
-- File Changes --
M app/controllers/user_controller.rb (3)
M app/models/client_application.rb (6)
M app/views/user/api_read.builder (3)
M config/locales/en.yml (3)
A db/migrate/20170127002700_add_read_email_permission.rb (11)
M db/structure.sql (8)
M test/controllers/user_controller_test.rb (20)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev