前のトピック: grid get コマンドの出力仕様

次のトピック: put_acl (グリッド制御) -- グリッド ACL 全体を置換する

get_acl (グリッド制御) -- グリッド ACL を表示

グリッド ACL を表示するか、特定のプリンシパルに関連するグリッド ACL の部分を表示します。

構文
grid get_acl [ <principal> ] [ --batch ]  
パラメータ
<principal>

指定されたプリンシパルに関連するグリッド ACL の部分のみを表示します。 <principal> は <scope>:<type>:<name> という形式で表します。<scope> には global または local、<type> には user または group、<name> にはユーザまたはグループ名を指定します。

--batch

UDL 形式で出力を表示します。

grid get_acl

グリッド ACL を表示します。

grid get_acl local:user:admin

ローカル ユーザ 'admin' のグリッド ACL エントリを表示します。

出力

このコマンドの出力を以下に示します。

1. バッチ以外の出力

--- Owner Information ---
ID                                    Scope    Type    Name
-------------------------------------------------------------------------
val                                   val      val     val
--- Entry Information ---
ID                                    Scope    Type    Name              Access
--------------------------------------------------------------------------------
val                                   val      val     val               val
...

The value of Scope is local or global. The value of Type is user or group. The value of Access is a comma separated list of access levels or permissions.

1. バッチ出力

acl
   {
   owner       : id="val"   # scope type name
   entries
      [
	id="val", access_level1, ... access_levelN, permission1, 	... permissionN   # scope type name
      ...
      ]
   }