Project

General

Profile

« Previous | Next » 

Revision e170c321

Added by Olivier Favre about 12 years ago

  • ID e170c3210ceccccc43ef0795c89a14f472a074f9

fixes #1597 - Restrict compute resources access by user

And add some rights to give non admin users so they can perform some normal actions on the hosts they own.

unit/domain_parameter_test.rb self-broke... added a tiny fix.
Removing compute_resources/vms nesting, it is such a nightmare for functional tests.

Signed-off-by: Olivier Favre <>

View differences:

test/fixtures/compute_resources.yml
password: MyString
uuid: MyString
type: Foreman::Model::Libvirt
mycompute:
name: mycompute
description: mycompute
url: test:///default # test hypervisor URI needed to try listing vms
user: MyString
password: MyString
uuid: mycompute
type: Foreman::Model::Libvirt
yourcompute:
name: yourcompute
description: yourcompute
url: test:///default
user: MyString
password: MyString
uuid: yourcompute
type: Foreman::Model::Libvirt

Also available in: Unified diff