//! Role-Based Access Control (RBAC) Module
//!
//! This module provides comprehensive RBAC functionality including:
//! - RBAC configuration and management
//! - Access control middleware
//! - Repository layer for data access
//! - Service layer for business logic
//! - Database integration
//! - Integration examples

pub mod conditional;
pub mod config;
pub mod middleware;
pub mod repository;
pub mod service;

// Example files disabled (not critical for library)
// pub mod integration_example;
// pub mod main;
// pub mod server;

// Re-export commonly used types and functions
pub use conditional::{ConditionalRBACService, NoOpRBACService};
pub use config::{RBACConfigLoader, RBACSettings, RBACTomlConfig};
pub use middleware::{rbac_middleware, require_database_access, require_file_access};
pub use repository::RBACRepository;
pub use service::RBACService;
