Forum OpenACS Q&A: Response to new-file-storage FS_FILES versus FS_VERSIONS

Collapse
Posted by David Kuczek on
In order to get the correct result you have to make a little change in search.tcl then:

LINE 80: and    user_has_row_permission_p ($user_id, 'read', v.version_id, 'FS_VERSIONS') = 't'

has to be changed into

and    user_has_row_permission_p ($user_id, 'read', f.file_id, 'FS_FILES') = 't'

I will commit that to SDM...