Committed as 6b2b4cc972420439cfd3e2f5ca9c79cc03436e5d. Thanks. /aron
> ________________________________________ > Date: Mon, 23 Sep 2013 17:07:46 +0200 > From: David Juran <[email protected]> > To: [email protected] > Subject: [Spacewalk-list] [patch] spacecmd credentials cache doesn't > work for normal user > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hello! > > Spacecmd uses the user.listUsers API call to validate the credentials > cache. This is suboptimal since a normal user isn't allowed to run this > call, forcing him to always enter his password. > The attached one-liner instead changes the test to api.getApiNamespaces > to test the cache, but I guess any unprivileged operation would do. > > -- > David Juran > Sr. Consultant > Red Hat > +46-725-345801 > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: spacecmd-validate-credentials-cache.patch > Type: text/x-patch > Size: 527 bytes > Desc: not available > URL: < > https://www.redhat.com/archives/spacewalk-list/attachments/20130923/309e4b21/attachment.bin > > > > ------------------------------ > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list > > End of Spacewalk-list Digest, Vol 64, Issue 26 > ********************************************** >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
