Summary | not possible to select another backend |
Queue | Gollem |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | slusarz (at) horde (dot) org |
Requester | tobias.nix (at) gmail (dot) com |
Created | 10/28/2004 (7624 days ago) |
Due | |
Updated | 03/18/2005 (7483 days ago) |
Assigned | 12/07/2004 (7584 days ago) |
Resolved | 03/18/2005 (7483 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Priority ⇒ 3. High
Bug 808will be implemented when this gets coded, since the list ofbackends already generated in base.php is filtered by the user's
permissions.
This functionality is the last remaining hold-up that I can see before
Gollem 1.0 can be released.
goal is to have something akin to the IMP drop-down folder menu in
Gollem that will allow a user to switch backends. If a particular
backend has not been authenticated yet, then the user will be
redirected to the login page. This will allow us to get rid of the
"Change server" menu button.
I do apologize to everyone for making this Gollem authentication stuff
a bit broken. However, the auth code really needed to be brought
inline with how we do authentication elsewhere so this was my
motivation. The biggest issue has been that the application I ripped
most of the code out of (IMP) does not have to deal with multiple
backends that 1) are open simultaneously, 2) deal with logins via the
VFS class, and 3) deal with backends that don't require authentication
at all. Bear with me as I sort all of this out.
need authentication, e.g. if I have a hordeauth FTP backend, an SQL
backend, and a file backend.
State ⇒
my backend.php file looks like this:
$backends['incoming'] = array(
'name' => 'incoming',
'driver' => 'file',
'preferred' => '',
'params' => array(
'vfsroot' => '/home/vfs/incoming/',
),
'attributes' => array('type', 'name', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);
$backends['storage'] = array(
'name' => 'storage',
'driver' => 'file',
'preferred' => '',
'params' => array(
'vfsroot' => '/home/vfs/storage/',
),
'attributes' => array('type', 'name', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);
the strange thing is, if i add one of this example entries like
$backends['ftp'] = array(
'name' => 'FTP Server',
'preferred' => '',
'driver' => 'ftp',
'params' => array(
// The hostname/IP Address of the FTP server
'hostspec' => 'ftp.example.com',
// The port number of the FTP server
'port' => 21,
// Use passive mode?
'pasv' => false,
// Hide all files that match this regex
// 'filter' => '^regex$'
),
'attributes' => array('type', 'name', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);
it is possible to choose. maybe there is something wrong with my config?
State ⇒ Resolved
Assigned to Michael Slusarz
State ⇒ Assigned
seem to be a number of issues right now. I can look at it eventually
if Michael can't or if we need to get Gollem in shape for a beta.
(I can't get as far as choosing a backend, so I'm not much use on this one)
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ not possible to select another backend
Queue ⇒ Gollem
State ⇒ Unconfirmed
to change the backend. This is only possible
after login in again.