dynamically computed roles

Joachim Schmitz <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Hi,

is there something like a dynamically assigned role in CPS?

Here is the usecase:

In our studentregistration portal we have a student-section, which
contains all student-objects (SO).

A SO contains for example the studycourse (SC) the student takes, which
contains all courses the student takes.

The SC contains information about the faculty and department the student
belongs to.

Parallel to the student-section there is the academic-section (AS)
The AS contains faculty-objects (FO), which in turn contain
department-objects, which contain beside other things course-objects.

Now we have for example a course-manager, which we give the local role
section-manager in all course of a department. But in addition we have
to give him the possibility to edit/enter the results in all those
courses in the SC of the student.

So we would need a kind of computed role CourseManager, which we can
test with the hasRolesInContext.




-- 
Gruß Joachim



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.