[packagekit] Privileges handling in complex situations

Sebastian Heinlein glatzor at ubuntu.com
Sun Oct 25 01:43:54 PDT 2009


Hello,

The Simulate* methods now allow to preview complex transactions, which
e.g. require additional removals next to an installation.

But how should we handle the privileges?

Here are some use cases:

- User is allowed to install, but not to remove software. User
  wants to install postfix, which would remove exim.

  How should the backend know about the missing privilege?

- User A and B are allowed to install software. User A queues an
  installation, e.g. exim. User B also queues an installation shortly
  before the previous installation was processed, e.g. postfix. 

  Currently privileges are only checked at transaction init time, but
  not afterwards anymore.

How do you plan to solve this in your aptcc backend, Dantti?

Cheers,

Sebastian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20091025/a58ed728/attachment-0004.pgp>


More information about the PackageKit mailing list