Vorheriges Thema: unlock (Anwendungsüberwachung und -verwaltung) - Anwendung entsperren

Nächstes Thema: put_acl (Anwendungsüberwachung und -verwaltung) - Gesamte Anwendungs-ACL ersetzen

get_acl (Anwendungsüberwachung und -verwaltung) - Anwendungs-ACL anzeigen

Anwendungs-ACL anzeigen oder den Teil der Anwendungs-ACL anzeigen, der sich auf einen bestimmten Prinzipal bezieht.

Syntax
application get_acl <name> [ <principal> ] [ --batch ]
Parameter
<name>

Name der Anwendung.

<principal>

Name eines Prinzipals. <principal> hat die Form <scope>:<type>:<name>, wobei <scope> global oder lokal, <type> der Benutzer oder die Gruppe und <name> der Benutzer- oder Gruppenname ist.

--batch

Ausgabe in UDL-Format anzeigen.

Beispiele
application get_acl my-app

Die Anwendungs-ACL anzeigen.

application get_acl my-app local:user:admin

Den Anwendungs-ACL-Eintrag für lokalen Benutzer 'admin' anzeigen.

Typische Ausgabe

Die Ausgabe dieses Befehls ist Folgende:

Nicht-Batch-Ausgabe:

--- Owner Information ---
ID                                    Scope    Type    Name
-------------------------------------------------------------------------
val                                   val      val     val
--- Eingabeinformation ---
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. If the principal is a local user or group which has been deleted, the value for Scope, Type and Name is *.

Batch-Ausgabe:

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