fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

expose device token in /devices/:id endpoint to device owner and admins #290

Closed timcowlishaw closed 6 months ago

timcowlishaw commented 6 months ago

as requeste in #289 - I've taken the same pattern we use for the mac_address - we display the text '[FILTERED]' unless the logged in user is the owner or an admin.

oscgonfer commented 6 months ago

Thanks so much! All great!

sentry-io[bot] commented 6 months ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎