Venugopal T a écrit : >> That might work with naive configurations but as I never did that > particular >> case before I cannot say. I only used multi directories for >> directories that did >> not need membership relations so far. >> >> I would recommend setting up a simple directory with your DB only >> first and then >> try to incrementally adapt a working setup to use the Multi Directory > features >> once the simple case is validated to work as expected. >> >> > I can try to setup the MultiDirectoryFactory as you suggested. What kind >> > of problems do you foresee with the user membership relations? > > I have setup the MultiDirectoryFactory that combines two sql directories > (not with the DB views, but with some dummy tables). > > * What are the Users and Groups that Nuxeo ECM absolutely requires (I > could only find one user (Administrator) and two Roles (Admin and members).
s/Admin/administrators/ Anyway the default permissions can be changed by contributing to the content template contrib extension point. The default setup is the following: http://hg.nuxeo.org/nuxeo/nuxeo-platform/file/5.1/nuxeo-platform-content-template-manager/src/main/resources/OSGI-INF/content-template-contrib.xml But in your case it might be simpler to just add those entries in one of the database views aggregated through the multi directory. > * If we create these users and groups in our database, will it work? In > other words, is there anything to prevent Nuxeo working with views? Views should be fine. Actually this is probably the simplest way to get nuxeo use an external SQL source with column names different from the default setup. Also note that you should setup your directories in readonly mode if they point to views. To do so, just add the following tag somewhere in your directory definition: <readOnly>true</readOnly> -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
