Adrian Schröter schrieb:
On Montag, 26. Januar 2015, 11:51:03 wrote Ludwig Nussel:
To find out who are the owners of a package there's the /search/owner?binary=PKG call. Part of the result could be group though. If I wanted to know whether a specific user is owner of the given package, am I expected to retrieve the group information and check whether the user is member of each group? Is there maybe a better suited call that would do that for me on server side?
not yet, we could add some expand option which is including also the groups of a user if wanted.
However, I am not sure if that is really the best way for your problem. Let's talk about what you want to do exactly....
The use case is one of the maintenance review bots that checks if the package was submitted or reviewed by one of the package owners. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5; 90409 Nürnberg; Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org