tkuester / taky

A simple python TAK server
MIT License
188 stars 43 forks source link

Do not display private packages on the Data Package Server #13

Closed tkuester closed 3 years ago

doug-fitzmaurice-rowden commented 3 years ago

(Moving discussion from #4 as I think it applies more here)

The way ATAK does it is to PUT to the /Marti/api/sync/metdata/<hash>/tool endpoint, setting the package to private if it was sent directly to another contact, and to public if it was just sent to the server.

I think that behaviour still makes sense (and the endpoint is already there in taky), so the only thing you can't do is upload a package to the server that only you can see. Seems like kind of a niche case, but a config setting would be a neat solution for that.