Hi,

Thank a lot for the detailed response, I see what I missed.  I had created the user's login subdirectories and thought that they would also be able to create data libraries themselves... that's what I missed.  An admin must create the data library first and give the user permissions to add to it and then the user would be able to upload files from their directory into the data library.  Thanks for the explanation.

best,
leandro

On Thu, Sep 22, 2011 at 3:13 PM, Greg Von Kuster <greg@bx.psu.edu> wrote:
Hello Leandro,

When the user_library_import_dir is set in universe_wsgi.ini, it enables non-admin users to import a directory of files into a data library as long as there is a subdirectory named the same as the non-admin user's Galaxy account contained within the configured directory.  

For example, assume the following setting in universe_wsgi.ini:

user_library_import_dir = /Users/gvk/workspaces_2008/central_111008/test-data/users

points to a directroy that contains the following:

gvk:~/workspaces_2008/central_051111/test-data/users gvk$ ll
total 0
drwxr-xr-x     4 gvk  gvk    136 May  5 13:57 .
drwxr-xr-x  1090 gvk  gvk  37060 Sep  9 16:01 ..
drwxr-xr-x     3 gvk  gvk    102 May  5 13:57 test1@bx.psu.edu
drwxr-xr-x     3 gvk  gvk    102 May  5 13:57 test3@bx.psu.edu

Since non-admin users can only upload files to a data library if they have permission to do so, an admin user must set the LIBRARY_ADD permission on a data library in order for any non-admin users to be able to upload to it.  For example, assume the admin user gave the LIBRARY_ADD permission on the data library named Library1 to the user test1@bx.psu.edu as follows:


The, when the user test1@bx.psu.edu logged into Galaxy, and selected the "Data Libraries" option from the top Galaxy menu's "Shared Data" pop-up menu, they would see the list of data libraries to which they have access.


When they click on the data library, they'll see a button ;abel;ed "Add datasets" since they have been granted the LIBRARY_ADD permission on the data library.


Clicking the "Add datasets" button will display the "Upload file to a data library" page.  Since the configuration described above exists, they will have the option to "Upload a directory of files" by selecting that option from the "Upload option" select field.






On Sep 22, 2011, at 8:17 AM, Leandro Hermida wrote:

Hi all,

I've enabled the universe.wsgi feature user_library_import_dir feature
and made a sub-directory with my login and put some test files there.
I've also made myselfa  non-admin to test and after restart the Galaxy
server I see no where in the GUI where I can import data libraries??
Am I missing something?

regards,
Leandro
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/

Greg Von Kuster
Galaxy Development Team