seguro.commands.acl_syncer.broker.Config

class seguro.commands.acl_syncer.broker.Config(clients: dict[str, seguro.commands.acl_syncer.broker.Client], groups: dict[str, seguro.commands.acl_syncer.broker.Group], roles: dict[str, seguro.commands.acl_syncer.broker.Role])[source]

Bases: object

Parameters:
  • clients (dict[str, Client])

  • groups (dict[str, Group])

  • roles (dict[str, Role])

__init__(clients, groups, roles)
Parameters:
  • clients (dict[str, Client])

  • groups (dict[str, Group])

  • roles (dict[str, Role])

Return type:

None

Methods

__init__(clients, groups, roles)

also_in(other)

belonging_to([client_names])

equal_to(other)

from_acl(acl)

not_in(other)

Attributes

also_in(other)[source]
Parameters:

other (Config)

Return type:

Config

belonging_to(client_names={})[source]
Parameters:

client_names (set[str])

Return type:

Config

clients: dict[str, Client]
equal_to(other)[source]
Parameters:

other (Config)

Return type:

Config

classmethod from_acl(acl)[source]
Parameters:

acl (AccessControlList)

Return type:

Config

groups: dict[str, Group]
not_in(other)[source]
Parameters:

other (Config)

Return type:

Config

roles: dict[str, Role]