bcgov / ckanext-bcgov

BC Data Catalogue source code, main ckan extension
http://catalogue.data.gov.bc.ca
GNU Affero General Public License v3.0
24 stars 23 forks source link

Do not allow 'restricted access' datasets to be configured with the OGL-BC License. #580

Open dkelsey opened 5 years ago

dkelsey commented 5 years ago

As a catalogue administrator,
I want the UI and the API to disallow editors from selecting the license type of "Open Government License - British Columbia" when the editor has set the metadata with restricted visibility or has set "who can download this data" to restrict access (describing who can download as IDIR or Named User)
so that OGL - BC licensed data can not be restricted or conversely so that restricted download/access data can not be licensed with OGL - BC.

mdunhamwilkie commented 5 years ago

As an interim measure let's just monitor this using the following SQL:

select 'https://catalogue.data.gov.bc.ca/dataset/'||dataset_id dataset_permalink,dataset_title,dataset_type,dataset_license_title,dataset_security_class,dataset_download_audience,dataset_edc_state from bcdc_datasets where dataset_license_title like '%Open%' and dataset_edc_state in ('PUBLISHED','PENDING PUBLISH','PENDING ARCHIVE') and (dataset_security_class != 'LOW-PUBLIC' or dataset_download_audience != 'Public') order by dataset_type,dataset_license_title,dataset_security_class,dataset_download_audience;

sent an email to the DA's to check on the existing 29 records.