Skip to content

Commit

Permalink
combining roles schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Apr 1, 2024
1 parent 121d7c4 commit 3503afd
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions brewtils/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,16 +573,7 @@ class RoleSchema(BaseSchema):
scope_commands = fields.List(fields.Str(), allow_none=True)

class RemoteRoleSchema(RoleSchema):
permission = fields.Str()
description = fields.Str(allow_none=True)
id = fields.Str(allow_none=True)
name = fields.Str()
scope_gardens = fields.List(fields.Str(), allow_none=True)
scope_namespaces = fields.List(fields.Str(), allow_none=True)
scope_systems = fields.List(fields.Str(), allow_none=True)
scope_instances = fields.List(fields.Str(), allow_none=True)
scope_versions = fields.List(fields.Str(), allow_none=True)
scope_commands = fields.List(fields.Str(), allow_none=True)
pass


class RemoteUserMapSchema(BaseSchema):
Expand Down

0 comments on commit 3503afd

Please sign in to comment.