kartevonmorgen / openfairdb

Open Fair DB is the CreativCommons Backend of Kartevonmorgen.org
http://www.openfairdb.org
GNU Affero General Public License v3.0
55 stars 18 forks source link

How can we get rid of the UUID in the URLS #375

Open wellemut opened 3 years ago

wellemut commented 3 years ago

Problem

Solution

Would be Much nicer.

Can we solve this in the backend? Can we replace the UUID completly? Do we need an extra ofDB-Colum, that links Slug to ID? Should this be solved in the frontend only?

uklotzde commented 3 years ago

Introduce another pseudo-unique identifier that could change at any time whenever someone modifies an entry??? No, I don't think that this would make sense.

wellemut commented 3 years ago

Ok, so in the ófDB we allways handle things by the ID. Than its just the question, is this slug added additionally?

Wechange also has an ID for each group, but shows a slug in the URL, that you can change whenever you want https://wechange.de/project/klimafit-initiative-emmendingen/

uklotzde commented 3 years ago

We don't have a concept of unique, custom, alternative identifiers. This only works if editing of entries (entirely or only certain properties) would be restricted to their "owners", which is another missing concept.