Interface AssignedPermissionsService.AddResponse

  • All Superinterfaces:
    Response
    Enclosing interface:
    AssignedPermissionsService

    public static interface AssignedPermissionsService.AddResponse
    extends Response
    Assign a new permission to a user or group for specific entity. For example, to assign the `UserVmManager` role to the virtual machine with id `123` to the user with id `456` send a request like this: .... POST /ovirt-engine/api/vms/123/permissions .... With a request body like this: [source,xml] ---- UserVmManager ---- To assign the `SuperUser` role to the system to the user with id `456` send a request like this: .... POST /ovirt-engine/api/permissions .... With a request body like this: [source,xml] ---- SuperUser ---- If you want to assign permission to the group instead of the user please replace the `user` element with the `group` element with proper `id` of the group. For example to assign the `UserRole` role to the cluster with id `123` to the group with id `789` send a request like this: .... POST /ovirt-engine/api/clusters/123/permissions .... With a request body like this: [source,xml] ---- UserRole ----
    • Method Detail

      • permission

        Permission permission()
        The permission.