cli: add support for granting and revoking roles from users/teams

This commit is contained in:
Ryan Petrello
2019-08-30 09:07:14 -04:00
parent 276b577103
commit 6762702868
4 changed files with 151 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ class TestOptions(unittest.TestCase):
page = OptionsPage.from_json({
'actions': {'GET': {}, 'POST': {}}
})
ResourceOptionsParser(None, page, 'users', self.parser)
ResourceOptionsParser(None, page, 'jobs', self.parser)
assert method in self.parser.choices
out = StringIO()