diff options
Diffstat (limited to 'module/web/pyload/models.py')
-rw-r--r-- | module/web/pyload/models.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/module/web/pyload/models.py b/module/web/pyload/models.py new file mode 100644 index 000000000..293c01109 --- /dev/null +++ b/module/web/pyload/models.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +from django.db import models +#from django.contrib.auth.models.User import User as UserProfile +# Create your models here. + + +class Perm(models.Model): + """ extended pyLoad user Profile """ + + #user = models.ForeignKey(UserProfile, unique=True) + #template = models.CharField(maxlength=30) + + class Meta: + permissions = ( + ("can_see_dl", "Can see Downloads"), + ("can_add", "Can add Downloads"), + ("can_delete", "Can delete Downloads"), + ("can_download", "Can download Files"), + ("can_see_logs", "Can see logs"), + ("can_change_status", "Can change status"), + )
\ No newline at end of file |