summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2014-08-21 11:03:17 +0200
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2014-08-21 11:03:17 +0200
commit09e4a64cda0531f7dd45984625cf5e1c90bb430f (patch)
tree44327ba2b0d7eccb1ddc31ef10d04a1da9dc93be /gitlab.py
parent01335f3b904a7ea4c1fee2d5b7f84f6420577834 (diff)
downloadgitlab-09e4a64cda0531f7dd45984625cf5e1c90bb430f.tar.gz
add support for UserKey listing and deletion
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab.py b/gitlab.py
index 885741a..1bd56f8 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -605,9 +605,9 @@ class GitlabObject(object):
class UserKey(GitlabObject):
_url = '/users/%(user_id)s/keys'
canGet = False
- canList = False
+ canList = True
canUpdate = False
- canDelete = False
+ canDelete = True
requiredCreateAttrs = ['user_id', 'title', 'key']