Show Table of Contents
4.12. permit
permit 资源类型是组成用户角色的权利资源在 Red Hat Virtualization 环境中的组合。
表 4.34. 权利参数
| 名称 | 类型 | 描述 | 必需的 | 用户可创建 | 用户可更新 |
|---|---|---|---|---|---|
--id
|
字符串
|
添加权利的标识。
|
是
|
是
|
否
|
下表列出了基于资源的命令中的
permit 选项。
表 4.35. 格外的命令选项
| 选项 | 描述 |
|---|---|
--role-identifier
|
为一个用户角色添加权利。
|
例 4.31. 创建一个新权限
[RHEVM shell (connected)]# add permit --role-identifier MyRole --id 1

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.