For my application I would like to be able to easily set up a set of 'home' 
spaces for each student in a class as well as a common shared space.  For the 
'home' spaces I would like the default permissions to be world readable but 
only editable by the space owner.   The owner can open it up if they desire 
later.  The shared class space would be editable by all the students.  Ideally 
I would like to import a csv that had the user names and email addresses.   I 
see the process as follows:

 

Read/parse the csv file

Create each user, assigning either a random password or one read from the csv

Create space for each user and set permissions on the space

Put all the students into a group and create a shared space with group edit 
permissions

 

Has anyone done something similar?   What is the best approach for something 
like this?  Groovy vs java jar?  Any pointers to the apis to easily create 
users/assign permissions etc would be helpful as well.

 

Thanks,

 

Glenn

 

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to