Hi JV, Sorry for being late. Some quick comments: 1) your mail wasn't really about the new users module but about a specific question... I was expecting a general architecture discussion about a users module. 2) I read http://dev.xwiki.org/xwiki/bin/view/Design/UsersModule and when I read it I miss the feeling that the architecture is sound and all-encompassing. It would be good to know the extent to which this module will go and what it'll do exactly, to be sure we're not missing things and that it's not overstepping in some other module's area. Will it do user registration? Will it allow to add/remove/modify users? What about Groups? 3) Would it be possible to not have the number and offset params and instead return a ResultSet<User> object that you could query to get the data with a cursor (same as the JDBC api basically). It makes the API better IMO. 4) I don't like the "String match" parameter. It's very restrictive. What if I want to search on the phone number of a user? Or simply on its first name only? Also this should probably just call a more generic search module that does search on objects. 5) "Define at which level users and groups should be handled in the farm". Not sure what this affects. For example if I want to get all local users, what API do I use? Thanks -Vincent On Sep 17, 2010, at 11:39 AM, Jean-Vincent Drean wrote:
Up!
I could commit the code I have if we agree that it is going in the good direction. I'm thinking about the component implementation proposal in particular: http://dev.xwiki.org/xwiki/bin/view/Design/UsersModule#HUsersComponent
Thanks, JV.
On Wed, Aug 4, 2010 at 11:30 AM, Jean-Vincent Drean <[email protected]> wrote:
Hi Devs,
I'd like to introduce a new configuration property that would define at which level users should be handled in a farm. See the proposition about the new entry in xwiki.properties, it should be self-explanatory:
--------------------------------8<-------------------------------- #-# [Since 2.5M1] #-# Define at which level users and groups should be handled in the farm. Available modes: #-# #-# mixed (default): #-# - user registration available in the main wiki and local wikis #-# - users from the current wiki and the main wiki will be displayed in the rights interface and user suggests #-# - user administration is present in all the wikis #-# #-# local: #-# - user registration available in the main wiki and local wikis #-# - only users from the current wiki will be displayed in the rights interface and user suggests #-# - user administration is present in all the wikis #-# #-# global: #-# - user registration available in the main wiki only, the register link in local wikis will point to the main wiki #-# - only users from the main wiki will be displayed in the rights interface and user suggests #-# - user administration is present in the main wiki only core.virtual.users=mixed -------------------------------->8--------------------------------
More details are available here: http://dev.xwiki.org/xwiki/bin/view/Design/UsersModule
WDYT ?
Thanks, JV.
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs