mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
bug in authorization driver permissions
This commit is contained in:
parent
a8fedc350b
commit
eea792c963
@ -65,7 +65,7 @@ class SimplePermissions
|
||||
|
||||
when 'USE'
|
||||
if %w{VM NET IMAGE}.include? object
|
||||
auth_result = ((owner == uid) | pub)
|
||||
auth_result = ((owner == uid) | pub=='1')
|
||||
elsif object == 'HOST'
|
||||
auth_result=true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user