[cups.general] How do I create levels of printer administration

Helge Blischke h.blischke at srz.de
Sat Feb 4 07:35:05 PST 2006


> Rob Tanner wrote:
> 
> Helge Blischke said the following on 02/03/2006 10:16 AM:
> 
> > Rob Tanner wrote:
> >
> >
> >> Hi,
> >>
> >> I want to create a group of printer administrators that can manage jobs,
> >> send test pages, start/stop the printer and change the accept/reject
> >> status (basically the left three buttons on the printers page).  Power
> >> to manage jobs should be able to be simply managed with a <Location
> >> /jobs> ... </Location> directive, but it looks like I have to give
> >> access to /admin even to do start/stop.  So, how do I block modify,
> >> config, create and delete?
> >>
> >> Thanks,
> >> Rob
> >>
> >>
> >>
> > You may specify things like
> > <Location /admin?op=xxx>
> >
> > differently for different operations (xxx denotes the operation, like statr, stop, modify, ...)
> >
> > Helge
> >
> >
> >
> 
> That does the trick, but I noticed and oddity and I'm not sure if that's normal or not.  The actual urls are: "/admin/?op=".  Is that slash before the "?" normal?.  As long as I incluse that slash in the <Location ...> directive it all works, but is
> that what I should see?
> 
> Thanks,
> Rob
> 

Tha latest CUPS version I used this with is 1.1.22 on a FC 3 system, and it works without the slashes.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list