Various bug fixes. (#314)

This commit is contained in:
kevgliss
2016-05-12 12:38:44 -07:00
parent 9022059dc6
commit a0c8765588
32 changed files with 329 additions and 329 deletions

View File

@@ -11,6 +11,7 @@ from lemur.schemas import AssociatedUserSchema, AssociatedAuthoritySchema
class RoleInputSchema(LemurInputSchema):
id = fields.Integer()
name = fields.String(required=True)
username = fields.String()
password = fields.String()
@@ -20,6 +21,7 @@ class RoleInputSchema(LemurInputSchema):
class RoleOutputSchema(LemurOutputSchema):
id = fields.Integer()
name = fields.String()
username = fields.String()
password = fields.String()

View File

@@ -113,4 +113,4 @@ def render(args):
terms = filt.split(';')
query = database.filter(query, Role, terms)
database.sort_and_page(query, Role, args)
return database.sort_and_page(query, Role, args)