Revision acfbc458
Added by Marek Hulán about 10 years ago
app/models/compute_resources/foreman/model/vmware.rb | ||
---|---|---|
end
|
||
|
||
def associated_host(vm)
|
||
Host.my_hosts.where(:mac => vm.mac).first
|
||
Host.authorized(:view_hosts, Host).where(:mac => vm.mac).first
|
||
end
|
||
|
||
def provider_friendly_name
|
Also available in: Unified diff
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
Contributions from: