Re: [galaxy-dev] authorize non admin user to only link a directory of files

2014-04-07 Thread Berner, Thomas
Hi John,

thanks for your reply, I'll give it a try.

Thomas

Von: John Chilton [jmchil...@gmail.com]
Gesendet: Montag, 7. April 2014 16:15
An: Berner, Thomas
Cc: galaxy-dev@lists.bx.psu.edu
Betreff: Re: [galaxy-dev] authorize non admin user to only link a directory of 
files

I think you need to hack up the Galaxy code to accomplish this. There
is information on how to start doing this in the following thread I
think:

http://dev.list.galaxyproject.org/FTP-Problem-Users-cannot-see-their-uploads-files-tp4619709p4662701.html

This may just work for admin users though, I don't recall. It is
hopefully a helpful start though.

-John

On Mon, Apr 7, 2014 at 9:02 AM, Berner, Thomas
 wrote:
> Hi,
>
>
>
> we recently activated the feature for non admin users which allows them to
> upload a directory of files:
>
>
>
> ...
>
>
>
> # Add an option to the library upload form which allows authorized
>
> # non-administrators 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 = None
>
> user_library_import_dir = /opt/galaxy/galaxy-share/
>
>
>
> ...
>
>
>
> However we would like to restrict the permission to only link to their files
> without copying them into galaxy, is this possible?
>
>
>
>
>
> Greetings, Thomas
>
>
>
> ---
>
>
>
> Thomas Berner
>
>
>
> Julius Kühn-Institut (JKI)
>
> - Federal Research Centre for Cultivated Plants - Erwin Baur-Straße 27
>
> 06484 Quedlinburg
>
> - Germany -
>
>
>
> Phone: ++49  ( 0 ) 3946  47  562
>
> EMail: thomas.ber...@jki.bund.de
>
>
>
>
> ___
> 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/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/

___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] authorize non admin user to only link a directory of files

2014-04-07 Thread John Chilton
I think you need to hack up the Galaxy code to accomplish this. There
is information on how to start doing this in the following thread I
think:

http://dev.list.galaxyproject.org/FTP-Problem-Users-cannot-see-their-uploads-files-tp4619709p4662701.html

This may just work for admin users though, I don't recall. It is
hopefully a helpful start though.

-John

On Mon, Apr 7, 2014 at 9:02 AM, Berner, Thomas
 wrote:
> Hi,
>
>
>
> we recently activated the feature for non admin users which allows them to
> upload a directory of files:
>
>
>
> ...
>
>
>
> # Add an option to the library upload form which allows authorized
>
> # non-administrators 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 = None
>
> user_library_import_dir = /opt/galaxy/galaxy-share/
>
>
>
> ...
>
>
>
> However we would like to restrict the permission to only link to their files
> without copying them into galaxy, is this possible?
>
>
>
>
>
> Greetings, Thomas
>
>
>
> ---
>
>
>
> Thomas Berner
>
>
>
> Julius Kühn-Institut (JKI)
>
> - Federal Research Centre for Cultivated Plants - Erwin Baur-Straße 27
>
> 06484 Quedlinburg
>
> - Germany -
>
>
>
> Phone: ++49  ( 0 ) 3946  47  562
>
> EMail: thomas.ber...@jki.bund.de
>
>
>
>
> ___
> 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/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/

___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


[galaxy-dev] authorize non admin user to only link a directory of files

2014-04-07 Thread Berner, Thomas
Hi,

we recently activated the feature for non admin users which allows them to 
upload a directory of files:

...

# Add an option to the library upload form which allows authorized
# non-administrators 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 = None
user_library_import_dir = /opt/galaxy/galaxy-share/

...

However we would like to restrict the permission to only link to their files 
without copying them into galaxy, is this possible?


Greetings, Thomas

---

Thomas Berner

Julius Kühn-Institut (JKI)
- Federal Research Centre for Cultivated Plants - Erwin Baur-Straße 27
06484 Quedlinburg
- Germany -

Phone: ++49  ( 0 ) 3946  47  562
EMail: thomas.ber...@jki.bund.de

___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/