2.27. hammer filter

パーミッションフィルターを管理します。

Usage:
    hammer filter [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 available-permissions         List all permissions
 available-resources           List available resource types
 create                        Create a filter
 delete                        Delete a filter
 info                          Show a filter
 list                          List all filters
 update                        Update a filter

Options:
 -h, --help                    Print help

2.27.1. hammer filter available-permissions

パーミッションの一覧を表示します。

Usage:
    hammer filter available-permissions [OPTIONS]

Options:
 --fields FIELDS                         Show specified fileds or predefined filed sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --location LOCATION_NAME                Location name
 --location-id LOCATION_ID
 --location-title LOCATION_TITLE         Location title
 --name NAME
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Organization name
 --organization-id ORGANIZATION_ID       Organization ID
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --resource-type RESOURCE_TYPE
 --search SEARCH                         Filter results
 -h, --help                              Print help

Predefined field sets:
  ---------|-----|---------|-----
  FIELDS   | ALL | DEFAULT | THIN
  ---------|-----|---------|-----
  Id       | x   | x       | x
  Name     | x   | x       | x
  Resource | x   | x       |
  ---------|-----|---------|-----

Search / Order fields:
  name                string
  resource_type       string