role-system 1.1.1

A flexible and powerful role-based access control (RBAC) library for Rust applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Application types for role templates.

/// Application type for creating appropriate roles
#[derive(Debug, Clone)]
pub enum ApplicationType {
    /// Web application with user-facing interface
    WebApp,
    /// API service for machine-to-machine communication
    ApiService,
    /// Content management system
    Cms,
    /// E-commerce platform
    Ecommerce,
    /// Internal admin dashboard
    AdminDashboard,
}