Revision acfbc458
Added by Marek Hulán about 10 years ago
app/services/dashboard.rb | ||
---|---|---|
end
|
||
|
||
def hosts
|
||
@hosts ||= Host.my_hosts.search_for(filter)
|
||
@hosts ||= Host.authorized(:view_hosts, Host).search_for(filter)
|
||
end
|
||
|
||
private
|
Also available in: Unified diff
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
Contributions from: