DroneDB / Hub

Web GUI for DroneDB
GNU Affero General Public License v3.0
6 stars 3 forks source link

Add visibility support for datasets #86

Closed pierotofy closed 1 year ago

pierotofy commented 1 year ago

This PR adds support for visibility instead of public/non-public (private|unlisted|public).

It requires changes on Registry.

In particular, you must remove all references to "isPublic" as a form data parameter to /orgs/:org/ds* endpoints and replace them with a visibility parameter which is a positive int. @HeDo88TH

Also make sure meta/set data form fields are JSON parsed (e.g. "1" needs to be stored as an int, not a string, so check the .NET bindings if you get strange behaviors when changing/setting the visibility settings)

pierotofy commented 1 year ago

See https://github.com/DroneDB/Server/pull/8 for a reference of the server-side changes required in Registry.