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 about the allowed commands

> Can you explain more in detail what you mean or what you would like 
> it to do? It might be possible to convert more of those into 
> "unauthorized command", but isn't it a lot of code for something 
> rather minor?  If it is occurring at the main command level, it is 
> easy to fix, however, if it occurs in "subcommands", it could be 
> very pervasive.

I didn't meant to sound like 2 different issues. You already answered above
for this. It was just an argument why a restricted user can be confused by the
full list of commands, when most of the commands are not available. The "not
allowed" commands will return an error like "xxxxxx is an invalid command" and
the user has no information about what is allowed and what is not. Having just
the allowed command list will eliminate any confusion here. And I'm talking,
of course, about the main command level. 
> 
...
> 
> 
> > It's true I wasn't able to restore any files from other jobs, but I 
> > was able to "browse" the files list. One mention here - this is true only
> > when the "restore" command is used and not when the "restore" tab is used
> > in wx-console.
> 
> Can you explain why the restore command gives more information that 
> the restore tab in wx-console?  It sounds like wx-console has 
> implemented something that should be included in the core code ...
> 

When using the "restore" tab in a restricted console, all the information from
the combo boxes are the right information (everything specified in the
restricted console configuration). 
When using the "restore" command, you can chose, for example, "Enter list of
comma separated JobsIds to select". Based on the information retrived with
"query" command, you can specify a job id that not belongs to the restricted
console. You'll be able to "see" the files from the backup, but, as I said, it
will fail at the final step of the restore. 
Sure, I can disable the restore command for the rstricted console and keep
only the restore tab feature from wx-console, running this way only the
predefined restore jobs.

Regards,

Daniel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to