Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

4.11. permission


The permission resource type groups all permission resources in a Red Hat Enterprise Virtualization environment.
Expand
Table 4.32. Permission parameters
Name Type Description Required User Creatable User Updatable
--user-id, --group-id
string
A reference to the user or group using the permission.
Yes
Yes
No
--role-id
string
A reference to a role to assign for the permission.
Yes
Yes
No
--expect
'201-created'
Request becomes asynchronous until the expected HTTP header is returned. Useful for long-running tasks that would otherwise return as successful before the task is completed.
No
No
No
The following table lists additional permission options for resource-based commands.
Expand
Table 4.33. Additional command options
Option Description
--cluster-identifier
Adds the permission to a cluster.
--correlation-id
A tagging identifier for cross-system logging.
--cpuprofile-identifier
Adds the permission to a CPU profile.
--datacenter-identifier
Adds the permission to a data center.
--disk-identifier
Adds the permission to a disk.
--diskprofile-identifier
Adds the permission to a disk profile.
--host-identifier
Adds the permission to a host.
--iscsibond-identifier
Adds the permission to an iSCSI bond.
--network-identifier
Adds the permission to a network.
--storagedomain-identifier
Adds the permission to a storage domain.
--template-identifier
Adds the permission to a template.
--vm-identifier
Adds the permission to a virtual machine.
--vmpool-identifier
Adds the permission to a virtual machine pool.
--vnicprofile-identifier
Adds the permission to a VNIC profile.

Example 4.30. Creating a new permission

[RHEVM shell (connected)]# add permission --role-id 00000000-0000-0000-0000-000000000001 --user-id 8b9456ae-e2c8-426e-922d-b01bb8a805fb
Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat