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
This is more of a query than a bug report, but if a user is granted permission to view a file via the session grants functionality, canView() still returns false. Should we ensure canView() returns true in this situation, as the user can access the underlying file?
My specific use case is users uploading to a protected directory. We grant them access to the specific file they’ve uploaded via session grants, but not other files. FileUploadReceiver checks canView(), which will return false. We can achieve the above suggestion with an extension, but it struck me as odd behaviour
The text was updated successfully, but these errors were encountered:
This is more of a query than a bug report, but if a user is granted permission to view a file via the session grants functionality,
canView()
still returnsfalse
. Should we ensurecanView()
returnstrue
in this situation, as the user can access the underlying file?My specific use case is users uploading to a protected directory. We grant them access to the specific file they’ve uploaded via session grants, but not other files.
FileUploadReceiver
checkscanView()
, which will return false. We can achieve the above suggestion with an extension, but it struck me as odd behaviourThe text was updated successfully, but these errors were encountered: