Dynamically create space
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2007 04:06 AM
Is it possible to create spaces and subsequent rights to the space dynamically?
I am adding content to Alfresco through the Ascent Capture release and based on the filename (user id) I want to create a space (first check if the space already exists) and set the rights so that the a user with the user-id is the only one who can access this space (apart from admin of course)?
There are 3000+ users so creating these spaces manually would be quite a task!
I can imagine that making some sort of LDAP/AD connection would make sense.
Thanks!
I am adding content to Alfresco through the Ascent Capture release and based on the filename (user id) I want to create a space (first check if the space already exists) and set the rights so that the a user with the user-id is the only one who can access this space (apart from admin of course)?
There are 3000+ users so creating these spaces manually would be quite a task!
I can imagine that making some sort of LDAP/AD connection would make sense.
Thanks!
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 03:40 AM
Hello,
You can create a rule running a custom script (see the JavaScript API wiki page : http://wiki.alfresco.com/wiki/JavaScript_API). This script runs on the server and you can dynamically create a user or a space.
Note that Alfresco can automatically create a Home folder for each new user, with adequate permissions.
You can create a rule running a custom script (see the JavaScript API wiki page : http://wiki.alfresco.com/wiki/JavaScript_API). This script runs on the server and you can dynamically create a user or a space.
Note that Alfresco can automatically create a Home folder for each new user, with adequate permissions.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 09:19 AM
Is it possible to create subspace in the userhome automaticaly
And give an other user, say, a manager, the rights to add content.
|-Users Home
—|-Employee1
——|-Documents
—|-Employee2
——|-Documents
In this case the manager would be able to add content to the Documents spaces form both employees, without setting rules manually.
And give an other user, say, a manager, the rights to add content.
|-Users Home
—|-Employee1
——|-Documents
—|-Employee2
——|-Documents
In this case the manager would be able to add content to the Documents spaces form both employees, without setting rules manually.
