google-code-export / yabi

Automatically exported from code.google.com/p/yabi
0 stars 1 forks source link

Yabi-admin Multiple Backend Credentials #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add more than one BEC for a user to the same backend
2. Job submission fails.
3. Celery log reports MultipleObjects exception.

It would be useful in the Files tab to allow users to have multiple backend 
credentials. It is a way of sharing files etc. We want to be able to give 
access to directory/userA and directory/ to one user.

Original issue reported on code.google.com by amacgregor on 19 Jul 2011 at 7:00

GoogleCodeExporter commented 9 years ago

Original comment by aahun...@gmail.com on 29 Jul 2011 at 3:02

GoogleCodeExporter commented 9 years ago

Original comment by aahun...@gmail.com on 29 Jul 2011 at 3:32

GoogleCodeExporter commented 9 years ago
We have opted to stay with the position that a user should only have a single 
backend credential link between a given backend and credential. In the 
situation above the solution is to set up two backends - one with / in the path 
field and one with /directory/ in the path. A user could then get two backend 
credentials - one uses the / backend with a full path to their home dir and the 
other uses the /directory/ backend with no path added in the backend 
credential. This works because the two backend credentials point to different 
backends.

Original comment by amacgregor on 4 Aug 2011 at 8:05