hslayers / map-compositions

MIT License
0 stars 0 forks source link

Extend the schema by author metadata #4

Closed fzadrazil closed 2 years ago

fzadrazil commented 2 years ago

HSLayers used to send metadata about the author of the map and a thumbnail when saving compositions (had been used by Status Manager). Those data are not currently contained in the schema and Layman doesn't recieve it. User is taken from the credentials instead. Shoud we extend the map compositions schema by those metadata? @jirik @raitisbe @FilipLeitner @index-git More specifically, there used to be those fields in HSLayers:

I suppose those metadata should be saved in Micka then. It uses those... image

Consider also saving thumbnail from HSLayers to Layman instead of generating its own, but that is more Layman issue than schema.

jirik commented 2 years ago

@fzadrazil I would like to see such information (person, organization, position, address, city, state, postal code, country, phone, email, www) provided by OAuth2 provider (Liferay or Wagtail). Then Layman can automatically obtain it from that server and provide such information in map composition and/or send it to Micka. If such information will be in map composition, we need to extend the schema. Anyway, it's all for discussion.

fzadrazil commented 2 years ago

Yes, CMS should be the primary source of those data, but user should be able to change it when saving composition. Eg. the data can have different author and the user is only publishing it.

fzadrazil commented 2 years ago

I have consulted the right approach for this and the conclusions are:

So I propose to

In case only organization is filled in, it is automatically considered to be the contact too.