Hi,

this might be offtopic, so i excuse for that in advance, but i dont
know a better place to ask for it, cause its not completely offtopic
at all.

Let's start with what i want to achieve. I am building some sort of a
groupware, and i want it to fully support different domains, and with
it different users.
So lets say i have a simple model Domain, and a model Tasks:
class Domain(models.Model):
    domain = models.CharField(max_length=250)

class Task(models.Model):
    name = models.CharField(max_length = 250)
    parent_task = models.ForeignKey('self',  related_name='Parent
Task',  blank=True,  null=True)
    domain = models.ForeignKey(Domain)

Now i create two domains DomainA and DomainB and with it two groups
GroupA and GroupB with some users for each. GroupA shall be allowed to
add new tasks to DomainA and the same goes for GroupA (add tasks only
in DomainA).

Can i achieve that with the given permission (users and groups) system
of django or do i have to extent the user and groups models from
django?


Greetings
Sven

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to