rhpctl disallow image

Use the rhpctl disallow image command to disallow access to an image by a user or a role.

Syntax

rhpctl disallow image -image image_name {-user user_name [-client client_name]
    | -role role_name}

Parameters

Table F-12 rhpctl disallow image Parameters

Parameter Description
-image image_name

Specify the name of the image to which you want to disallow access.

-user user_name
 -client cluster_name |
 -role role_name

Specify either of the following:

  • A user for which you want to disallow access to the image and, optionally, the cluster name of the client cluster with the user.

  • The role for which you want to disallow access to the image.

Example

To disallow access to an image:

$ rhpctl disallow image -image PRODIMAGE -user mjk -client GHC1