Re: [Bacula-users] Few notes regarding the restricted console commands

2007-03-01 Thread Kern Sibbald
On Thursday 01 March 2007 21:13, Zeratul wrote: > On Thu, 1 Mar 2007 18:27:12 +0100, Kern Sibbald wrote > > > On Thursday 01 March 2007 16:06, Zeratul wrote: > > > On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote > > > ... > > > > > > > This is a bug. The jobid list should be filtered, and I

Re: [Bacula-users] Few notes regarding the restricted console commands

2007-03-01 Thread Zeratul
On Thu, 1 Mar 2007 18:27:12 +0100, Kern Sibbald wrote > On Thursday 01 March 2007 16:06, Zeratul wrote: > > On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote > > ... > > > > > This is a bug. The jobid list should be filtered, and I see the code does > > > check the JobIds against the permitted

Re: [Bacula-users] Few notes regarding the restricted console commands

2007-03-01 Thread Zeratul
On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote ... > This is a bug. The jobid list should be filtered, and I see the code does > check the JobIds against the permitted Job names and complain if it is not > allowed. However, it simply continues rather than removing the unauthorized > jobid.

Re: [Bacula-users] Few notes regarding the restricted console commands

2007-02-28 Thread Kern Sibbald
On Wednesday 28 February 2007 19:48, Zeratul wrote: > On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote > ... > > > > - the command "help" retuns the full commands list and, for a > > > restricted user, > > > > I'll look into filtering this ... > > > > > typing commands that returns "... is an

Re: [Bacula-users] Few notes regarding the restricted console commands

2007-02-28 Thread Zeratul
On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote ... > > - the command "help" retuns the full commands list and, for a restricted > > user, > I'll look into filtering this ... > > > typing commands that returns "... is an invalid command" can be > > frustrating because the user have no idea

Re: [Bacula-users] Few notes regarding the restricted console commands

2007-02-28 Thread Kern Sibbald
Hello, Thanks for the feedback. I'll add these items to the documentation. As for the problems of details of "show" and "list", I'm not sure it is worth the effort to add finer grain ACL testing, however, I will note in my todo list and see if it is possible. In general for the moment, you wi

[Bacula-users] Few notes regarding the restricted console commands

2007-02-27 Thread Zeratul
Hi Recently I tested the patch that fix the bug 767 (see bugs.bacula.org). The patch works fine - the restricted console is not able anymore to cancel running jobs that not belongs to it. With this occasion I tested other commands and I found few things which, in my opinion, should be mentioned,