Skip to main content
  • [DEPRECATED—please use grant_permission instead] Grants a KiFS directory-level permission to a user or role.

    Parameters

    • name: string

      Name of the user or role to which the permission will be granted. Must be an existing user or role.

    • permission: string

      Permission to grant to the user or role.

    • directory_name: string

      Name of the KiFS directory to which the permission grants access. An empty directory name grants access to all KiFS directories.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<GrantPermissionDirectoryResponse>

    Promise<Types.GrantPermissionDirectoryResponse> - Promise resolving to the response