You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ckanext/scheming/templates/scheming/form_snippets/organisation.html snippet closely couples the visibility field to the organisation field. Forcing them to be adjacent, visibility always showing and unable to set a default value for visibility.
results in two fields Organisation and Visibility where each time the organisation is changed the visibility is reset to private or to the previously saved value.
There is no documented method to set the default visibility to public either globally or on a per- organisation basis.
I suggest that either:
The visibility field can be optionally dropped out of the dataset_organization preset and visibility added independently as a field which then allows setting of the default value.
or a parameter default: True is available and used if the data.private is not set
or perhaps a check is made for the organisation record having a default_visibility field and the default is set to that option
The text was updated successfully, but these errors were encountered:
The ckanext/scheming/templates/scheming/form_snippets/organisation.html snippet closely couples the visibility field to the organisation field. Forcing them to be adjacent, visibility always showing and unable to set a default value for visibility.
A dataset schema containing this:
results in two fields Organisation and Visibility where each time the organisation is changed the visibility is reset to private or to the previously saved value.
I suggest that either:
The text was updated successfully, but these errors were encountered: