<p><a href="https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user" rel="nofollow">https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user</a> provides a mechanism to create/modify/delete user preferences in a public key/value store.</p>
<p>Currently, there's no way to shield different apps from each other, i.e. one app could fetch details from another app, or even change/delete them.</p>
<p>I'm proposing to enhance User preferences by an "app private" flag with the option to store key/value pairs that are only accessible a a given registered OAuth key.</p>
<p>Existing key/value pairs need to be marked as  "public" by default. For new entries, the app can decide, if entries should be public or "app private".</p>
<p>When using Basic auth, only public key value pairs should be returned, while on OAuth both public and "app private" key/value pairs are returned, possibly with an additional attribute to indicate a public/private key status.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2326?email_source=notifications&email_token=AAK2OLO6QBPZHU566PJ4VTTQAGRPTA5CNFSM4IFFD7KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAH5HHQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKW32W6MB66BNBNKUDQAGRPTANCNFSM4IFFD7KA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLIQN77QU6YR3G6R3JDQAGRPTA5CNFSM4IFFD7KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAH5HHQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2326?email_source=notifications\u0026email_token=AAK2OLO6QBPZHU566PJ4VTTQAGRPTA5CNFSM4IFFD7KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAH5HHQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2326?email_source=notifications\u0026email_token=AAK2OLO6QBPZHU566PJ4VTTQAGRPTA5CNFSM4IFFD7KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAH5HHQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>