irods / irods_capability_storage_tiering

BSD 3-Clause "New" or "Revised" License
5 stars 10 forks source link

`exec_as_user` is not federation friendly #187

Open korydraughn opened 2 years ago

korydraughn commented 2 years ago

The code in question: https://github.com/irods/irods_capability_storage_tiering/blob/c16624aeeb65099c8be2e1735557c8adaa4931e4/exec_as_user.hpp#L8-L27

Workaround

Grant permission to the local user of the same name because that is the user that is being found.

trel commented 9 months ago

related to #215 ?

alanking commented 9 months ago

I believe this is related to #215 but we want to make sure that things are working as expected across redirects as well as across federation. I believe #228 fixes the cross-zone case, so we just need to confirm the redirection case now.