qrexec.exc
– Exceptions¶
- exception qrexec.exc.AccessDenied(msg: str, notify: bool = True)[source]¶
Bases:
Exception
Raised when qrexec policy denied access.
notify
controls whether to notify the user about denying access. This defaults to true, except when specified otherwise (e.g. because we applied a policy that says notify=no).
- exception qrexec.exc.PolicyNotFound(service_name: str)[source]¶
Bases:
AccessDenied
Policy was not found for this service