bug in authorization driver permissions

This commit is contained in:
Javi Fontan committed 2010-07-23 19:18:53 +02:00
1 parent a8fedc350b
commit eea792c963
1 file changed
+1 -1
+1 -1
View File
@@ -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