summaryrefslogtreecommitdiffstats
path: root/bugzilla/rhbugzilla.py
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2008-10-09 00:32:35 -0400
committerWill Woods <wwoods@redhat.com>2008-10-09 00:32:35 -0400
commiteaf1d6de32be2b06c93c5d70587e39d44b4d7d07 (patch)
tree83baa41aba0315affb42da048d337b023d6b0dae /bugzilla/rhbugzilla.py
parenta7adb0126fbe0a629014c138784800defcbc6d8e (diff)
downloadpython-bugzilla-eaf1d6de32be2b06c93c5d70587e39d44b4d7d07.tar.gz
python-bugzilla-eaf1d6de32be2b06c93c5d70587e39d44b4d7d07.tar.xz
python-bugzilla-eaf1d6de32be2b06c93c5d70587e39d44b4d7d07.zip
Add updateperms(). Patch courtesy of Jon Stanley.
Diffstat (limited to 'bugzilla/rhbugzilla.py')
-rw-r--r--bugzilla/rhbugzilla.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py
index 47a3e22..8eeed0d 100644
--- a/bugzilla/rhbugzilla.py
+++ b/bugzilla/rhbugzilla.py
@@ -326,6 +326,10 @@ class RHBugzilla(bugzilla.base.BugzillaBase):
Returns bug_id'''
r = self._proxy.bugzilla.createBug(data)
return r[0]
+ # Methods for updating a user
+ def _updateperms(self,user,action,groups):
+ r = self._proxy.bugzilla.updatePerms(user, action, groups, self.user)
+ return r
class RHBugzilla3(Bugzilla32, RHBugzilla):
'''Concrete implementation of the Bugzilla protocol. This one uses the