Skip to main content
A newer release of this product is available.

template show-permissions

Contributors
Suggest changes

Display Template Allowed and Disallowed System Objects

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The template show-permission command shows all the system objects that are allowed and disallowed for the current user.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-name <text>] - Name

If you specify this parameter, only permissions that match the specified name are displayed.

[-object-name <text>] - Object Name

If you specify this parameter, only permissions that match the specified object-name are displayed.

[-permission <text>] - Permission

If you specify this parameter, only permissions that match the specified permission are displayed.

[-command-name <text>] - Command Name

If you specify this parameter, only permissions that match the specified command-name are displayed.

Examples

The following example shows all the the allowed and disallowed system objects

cluster1::> template show-permissions
    Template: VserverEnvironmentSetup
    Object Name          Command Name                                Permission
    -------------------- ------------------------------------------- ------------
    access.dns           vserver services name-service dns create    allowed
    network.interface    network interface create                    allowed
    network.routes       network route create                        allowed
    protocols.CIFS       vserver cifs create                         allowed