Policy API
Chris Rivera
chrismrivera at gmail.com
Fri Apr 6 08:13:30 PDT 2007
Howdy folks.
The policy layer in 1.2 is pretty nice, but I have a few questions. Is there a simple way to determine if a given user has permission to perform a given action with a given policy? This information would be incredibly useful for printer configuration tools. Simply trying the operation and catching the failure isn't really good enough since I might want to use this information to set the initial state of all the UI elements in a printer configuration tool. Something in the CUPS API or an IPP extension would be nice. Is there something like this that I'm missing?
Also, is there another way of adding a new policy other than editing cupsd.conf? It would be nice if there was an /etc/cups/policy.d where policy information could be placed.
Thanks,
Chris
More information about the cups-devel
mailing list