1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-23 22:55:23 +00:00

UserAttributes can_clone_instances defaults to True

This commit is contained in:
Ing. Jan KRCMAR 2017-03-31 14:33:03 +02:00
parent fe89af9d8f
commit 14b0751930

View file

@ -24,7 +24,7 @@ class UserSSHKey(models.Model):
class UserAttributes(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
can_clone_instances = models.BooleanField(default=False)
can_clone_instances = models.BooleanField(default=True)
max_instances = models.IntegerField(default=1)
max_cpus = models.IntegerField(default=1)
max_memory = models.IntegerField(default=2048)