Closed shariboodts closed 2 months ago
CollectionListView
with prefix priv
adapt_search()
for the priv
??
else
defined after checking whether user is in app_editor
grouppubl
for this situationResults: works correctly now.
I checked this issue from my 'regular user' account and have noticed:
When I click on MyDatasets in MyPASSIM, I go to a list view with all public datasets, not a list view of my own (public+private) datasets.
That's not true. When I log in with your username, "MyDatasets" leads me to public + private datasets.
Wanneer ik inlog met shariboodts_user (een gewone user, zonder speciale rechten), zie ik enkel public datasets, niet mijn eigen datasets (2 - ik heb er net een nieuwe gecreëerd om het te testen).
Yes, I see now. You're right. I only allowed public datasets for non editors. That was wrong...
priv
publ
(or team
- which should have no other effect)I had not yet addressed the visibility of the details view of private datasets. That should be changed too, in accordance with:
... only datasets marked 'public' are visible to all users. Datasets marked 'private' should only be visible to the person who created the dataset in question.
permission
is set to falseCollAnyEdit
method add_to_context()
Currently datasets are visible to all users, even when marked 'private'. Please change so that only datasets marked 'public' are visible to all users. Datasets marked 'private' should only be visible to the person who created the dataset in question.