mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
feature #203: enabled quota for user authorization
This commit is contained in:
1 parent
605fb638a4
commit
d5d6d717da
1 file changed
+1
-1
@@ -62,7 +62,7 @@ class SimplePermissions
|
||||
case action
|
||||
when 'CREATE'
|
||||
STDERR.puts "create vm"
|
||||
#@quota.update(uid.to_i)
|
||||
@quota.update(uid.to_i)
|
||||
if @quota.check(uid.to_i, get_vm_usage(id))
|
||||
return true
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user