Comment 0 for bug 1409725

Revision history for this message
Paolo Tormene (paolo-tormene) wrote : Put license inside the proper metadata field instead of in the supplemental information

Currently, when uploading a layer to from the SVIR plugin to the Platform, the user can select a license from a combobox, which is inserted in the XML that will be read by geonode to fill the metadata, inside the supplemental information field.
We need to change this workflow as follows:
1) the plugin should call an API on the platform, getting the list of available licenses and the links to the corresponding descriptions
2) instead of using the supplemental information field, the license should be inserted into the "license" field of the metadata, which contains the foreign key to the corresponding license accessible via admin/base/licenses