Closed shariboodts closed 2 months ago
For the established passim_editor
all works fine.
It is for the passim_user
who is not an editor, that the 'problem' occurs.
If a user is signed in, he/she is able to create a dataset, and it gets assigned a default name (e.g. erwintest_1056_manu
). I checked online: there are datasets that have None
in the name field.
How does that work?
Solution to the 'unnamed' problem:
after_save()
method from class CollAnyEdit
: this makes sure any dataset gets a name - doneWhat about non-users, i.e. people not signed in? -- Those are not able to enter that part of the db
add_to_context()
method of CollPrivAny
: if a private dataset is opened by the owner of that dataset, then that user gets editing rights
scope
of the dataset: filtered out the scope field_key
in the code aboveselectbuttons
for specific listviews...
The screen with the Private Dataset Details cannot be edited, which means the user cannot add a name to the dataset. We believe that this absence of a name causes problems in filling and viewing the dataset. When using the functionality 'Add to a dataset' in the Basket drop-down menu, a list of available datasets is given, but only those that have a name, the newly created, unnamed dataset is not one of the options. Also, when viewing the list of datasets from MyPASSIM, those that do not have a name are not clickable.
How to fix this:
How to fix this: there is already a possibility to select datasets, add the option to delete the selected datasets.