i’m very new to Silverstripe.
I want to make draft files visible to logged in users.
when i execute a query like File::get()->Where($query) i get only published files.
How do i get all files for the logged in user with the permissions to view the file?
thanks for your answer