-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace proxy_connection
with client_connection
#296
Comments
Alternatively, as we move toward admin-only for all operations, we can probably just replace this entirely with |
Agreed. |
alanking
changed the title
Add error handling to
Replace Jan 17, 2025
proxy_connection
proxy_connection
with client_connection
alanking
added a commit
to alanking/irods_capability_storage_tiering
that referenced
this issue
Jan 23, 2025
The proxy_connections used by this plugin are equivalent to using the irods::experimental::client_connection provided by the iRODS client library except for modifying the authFlag. Seeing as everything is done by client connections as admins in the plugin now, the authFlag doesn't matter as much anymore. As such, all instances of proxy_connection can be replaced and the whole header file has been removed. Also removes the unused exec_as_user header file.
alanking
added a commit
to alanking/irods_capability_storage_tiering
that referenced
this issue
Jan 23, 2025
All operations are done using the local server's service account rodsadmin client environment and as such do not need to know which user needs to execute policies.
alanking
added a commit
that referenced
this issue
Jan 23, 2025
The proxy_connections used by this plugin are equivalent to using the irods::experimental::client_connection provided by the iRODS client library except for modifying the authFlag. Seeing as everything is done by client connections as admins in the plugin now, the authFlag doesn't matter as much anymore. As such, all instances of proxy_connection can be replaced and the whole header file has been removed. Also removes the unused exec_as_user header file.
alanking
added a commit
that referenced
this issue
Jan 23, 2025
All operations are done using the local server's service account rodsadmin client environment and as such do not need to know which user needs to execute policies.
alanking
added a commit
to alanking/irods_capability_storage_tiering
that referenced
this issue
Jan 23, 2025
The proxy_connections used by this plugin are equivalent to using the irods::experimental::client_connection provided by the iRODS client library except for modifying the authFlag. Seeing as everything is done by client connections as admins in the plugin now, the authFlag doesn't matter as much anymore. As such, all instances of proxy_connection can be replaced and the whole header file has been removed. Also removes the unused exec_as_user header file.
alanking
added a commit
to alanking/irods_capability_storage_tiering
that referenced
this issue
Jan 23, 2025
All operations are done using the local server's service account rodsadmin client environment and as such do not need to know which user needs to execute policies.
alanking
added a commit
that referenced
this issue
Jan 23, 2025
The proxy_connections used by this plugin are equivalent to using the irods::experimental::client_connection provided by the iRODS client library except for modifying the authFlag. Seeing as everything is done by client connections as admins in the plugin now, the authFlag doesn't matter as much anymore. As such, all instances of proxy_connection can be replaced and the whole header file has been removed. Also removes the unused exec_as_user header file.
alanking
added a commit
that referenced
this issue
Jan 23, 2025
All operations are done using the local server's service account rodsadmin client environment and as such do not need to know which user needs to execute policies.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At least 3 things can go wrong in this function and none of them are being handled:
irods_capability_storage_tiering/include/irods/private/storage_tiering/proxy_connection.hpp
Lines 12 to 34 in 4c759d6
Make sure error cases are being checked and handled appropriately.
The text was updated successfully, but these errors were encountered: