Skip to main content
Source

pub async fn grant_permission_proc( &self, name: String, permission: String, proc_name: String, ) -> Result<GrantPermissionProcResponse, KineticaError>

Grant a proc-level permission to a user or role

[DEPRECATED–please use /grant/permission instead] Grants a proc-level permission to a user or role.

  • name - Name of the user or role to which the permission will be granted. Must be an existing user or role.
  • permission - Permission to grant to 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 to grant access to all procs.

Grant a proc-level permission to a user or role

[DEPRECATED–please use /grant/permission instead] Grants a proc-level permission to a user or role.

  • name - Name of the user or role to which the permission will be granted. Must be an existing user or role.
  • permission - Permission to grant to 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 to grant access to all procs.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built GrantPermissionProcRequest to the /grant/permission/proc endpoint.

Sends a pre-built GrantPermissionProcRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.