raito.plugins.roles.constraint moduleΒΆ

class raito.plugins.roles.constraint.RoleConstraint(filter)[source]ΒΆ

Bases: Filter

Wrapper around RoleFilter that supports logical OR composition.

Parameters:

filter (RoleFilter)

update_handler_flags(flags)[source]ΒΆ

Attach role metadata to handler flags.

This allows external tools to collect and display role-related constraints.

Parameters:

flags (dict[str, Any])

Return type:

None

class raito.plugins.roles.constraint.RoleGroupConstraint(*filters)[source]ΒΆ

Bases: Filter

Logical group of multiple RoleConstraints combined via OR.

Parameters:

filters (RoleConstraint)

update_handler_flags(flags)[source]ΒΆ

Attach role metadata to handler flags.

This allows external tools to collect and display role-related constraints.

Parameters:

flags (dict[str, Any])

Return type:

None