def cli(ctx, dataset_id):
    """Get the permissions for a dataset.

Output:

    dictionary with all applicable permissions' values
    """
    return ctx.gi.libraries.get_dataset_permissions(dataset_id)