Nuxeo mailing list archives
[CPS-devel] dynamically computed roles
Florent Guillaume
fg at nuxeo.com
Thu Nov 16 17:27:36 CET 2006
You would need to patch the getRolesInContext method to provide your
own logic.
Florent
On 13 Nov 2006, at 13:47, Joachim Schmitz wrote:
> 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
>
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.