Configuring Data Library Usage for Non-Admins
Hi all, I was able to configure Galaxy so that admins can use its Data Library functionality. My colleague then asked if I could do the same for non-admin users. I looked at the universe_wsgi.ini file and added a folder for the users. How will I know that all is ready? I logged-in with a non-admin account and I found nothing altered in the interface. Is there something else that I need to do? Thanks in advance for the help! Cheers, CL
Hello Ciara, Make sure to set up directories based on the information in the following comments in universe_wsgi.ini: # The following can be configured to allow non-admin users to upload a directory of files. The # configured directory must contain sub-directories named the same as the non-admin user's Galaxy # login ( email ). The non-admin user is restricted to uploading files or sub-directories of files # contained in their directory. user_library_import_dir = /Users/some_directory/non_admin_/users So, for example, using the above directory setting, assume you've added the following 2 subdirectories in the /Users/some_directory/non_admin_/users directory where each is a valid user's account in the local Galaxy instance. drwxr-xr-x 3 gvk gvk 102 May 5 2011 test1@bx.psu.edu drwxr-xr-x 3 gvk gvk 102 May 5 2011 test3@bx.psu.edu Then each user will be able to upload files to a data library that are contained in their respective directory. Make sure the stop / restart your Galaxy server whenever you make changes to universe_wsgi.ini. Greg Von Kuster On Jun 14, 2012, at 10:11 PM, Ciara Ledero wrote:
Hi all,
I was able to configure Galaxy so that admins can use its Data Library functionality. My colleague then asked if I could do the same for non-admin users. I looked at the universe_wsgi.ini file and added a folder for the users. How will I know that all is ready? I logged-in with a non-admin account and I found nothing altered in the interface. Is there something else that I need to do?
Thanks in advance for the help!
Cheers,
CL ___________________________________________________________ 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:
Okay, so the only way for a user to upload a file with a size greater than 2GB is to use FTP? Or can a non-admin user be granted permission to upload files using the filesystem path option, given that he/she can only access his/her own directory? Thanks, CL
On Jun 18, 2012, at 5:04 AM, Ciara Ledero wrote:
Okay, so the only way for a user to upload a file with a size greater than 2GB is to use FTP? Or can a non-admin user be granted permission to upload files using the filesystem path option, given that he/she can only access his/her own directory?
Hi Ciara, They can use the "upload from a directory" method if you configure Galaxy as explained by greg (user_library_import_dir). Users will also need to have permissions to upload to libraries that the admin chooses. From the admin interface, select a library, click "Library Actions" -> "Edit permissions", and then assign the appropriate users' private role(s) to the "add library item" permission. --nate
Thanks, CL ___________________________________________________________ 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:
Hi again, I've already done what you guys have suggested, but when I tried uploading a file, I got this error: The directory <some directory here> contains no valid files I checked if I placed the right path and created the correct folder, and everything seems fine. The file is a FASTQ file (ending in .fq). What could be causing Galaxy to see the file as not valid for upload? Thanks for the help!
participants (3)
-
Ciara Ledero
-
Greg Von Kuster
-
Nate Coraor