I guess the StatResponse should be the one to hold that data, but whatever.
The ListFilesResponse payload should include the permissions for the client for that file.
We wouldn't just want to call get_permissions on each of the files dmbly though, we should probably get_permissions on the dir that's getting LS'ed, then have a nonrecursive_get_permissions for each child, that we OR with the permissions on the target dir.
I guess the StatResponse should be the one to hold that data, but whatever.
The ListFilesResponse payload should include the permissions for the client for that file.
We wouldn't just want to call get_permissions on each of the files dmbly though, we should probably get_permissions on the dir that's getting LS'ed, then have a nonrecursive_get_permissions for each child, that we OR with the permissions on the target dir.