[OSM-dev] Querying OAuth access token permissions

Tom Hughes tom at compton.nu
Fri Apr 20 12:31:29 BST 2012


On 20/04/12 12:13, Christoph Bünte wrote:

> But is there a way to find out if the user which permissions the user actually granted? In particular, we would like to know whether the access token can change the map. We know the recommended way is to just try an API call which requires the specific permission. Our infrastructure queues all changes to the osm data and works it off later to be independent from OSM API status. But when the job is worked off it is too late to tell the user, that permissions are missing.

Not at the moment, but it would be easy enough to add it to the user 
details API call (/api/0.6/user/details).

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the dev mailing list