Add role-based filtering and imporve code
This commit is contained in:
31
shared/security/__init__.py
Normal file
31
shared/security/__init__.py
Normal file
@@ -0,0 +1,31 @@
|
||||
"""
|
||||
Security utilities for RBAC, audit logging, and rate limiting
|
||||
"""
|
||||
|
||||
from shared.security.audit_logger import (
|
||||
AuditLogger,
|
||||
AuditSeverity,
|
||||
AuditAction,
|
||||
create_audit_logger,
|
||||
create_audit_log_model
|
||||
)
|
||||
|
||||
from shared.security.rate_limiter import (
|
||||
RateLimiter,
|
||||
QuotaType,
|
||||
create_rate_limiter
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
# Audit logging
|
||||
"AuditLogger",
|
||||
"AuditSeverity",
|
||||
"AuditAction",
|
||||
"create_audit_logger",
|
||||
"create_audit_log_model",
|
||||
|
||||
# Rate limiting
|
||||
"RateLimiter",
|
||||
"QuotaType",
|
||||
"create_rate_limiter",
|
||||
]
|
||||
Reference in New Issue
Block a user