Source
pub async fn revoke_permission_proc( &self, name: String, permission: String, proc_name: String, ) -> Result<RevokePermissionProcResponse, KineticaError>
Revoke a proc-level permission from a user or role
[DEPRECATED–please use /revoke/permission instead] Revokes a proc-level permission from a user or role.
name- Name of the user or role from which the permission will be revoked. Must be an existing user or role.permission- Permission to revoke from the user or role.proc_name- Name of the proc to which the permission grants access. Must be an existing proc, or an empty string if the permission grants access to all procs.
Source
pub async fn revoke_permission_proc_with_opts( &self, name: String, permission: String, proc_name: String, options: RevokePermissionProcRequestOptions, ) -> Result<RevokePermissionProcResponse, KineticaError>
Revoke a proc-level permission from a user or role
[DEPRECATED–please use /revoke/permission instead] Revokes a proc-level permission from a user or role.
name- Name of the user or role from which the permission will be revoked. Must be an existing user or role.permission- Permission to revoke from the user or role.proc_name- Name of the proc to which the permission grants access. Must be an existing proc, or an empty string if the permission grants access to all procs.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn revoke_permission_proc_raw( &self, request: &RevokePermissionProcRequest, ) -> Result<RevokePermissionProcResponse, KineticaError>
Sends a pre-built RevokePermissionProcRequest to the /revoke/permission/proc endpoint.
Source
pub async fn revoke_permission_proc_from_url( &self, url: &str, request: &RevokePermissionProcRequest, ) -> Result<RevokePermissionProcResponse, KineticaError>
Sends a pre-built RevokePermissionProcRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.