Skip to main content
Source

pub async fn grant_permission_directory( &self, name: String, permission: String, directory_name: String, ) -> Result<GrantPermissionDirectoryResponse, KineticaError>

Grant a KiFS directory-level permission to a user or role

[DEPRECATED–please use /grant/permission instead] Grants a KiFS directory-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.
  • directory_name - Name of the KiFS directory to which the permission grants access. An empty directory name grants access to all KiFS directories.

Grant a KiFS directory-level permission to a user or role

[DEPRECATED–please use /grant/permission instead] Grants a KiFS directory-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.
  • directory_name - Name of the KiFS directory to which the permission grants access. An empty directory name grants access to all KiFS directories.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built GrantPermissionDirectoryRequest to the /grant/permission/directory endpoint.

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