Coverage for src/lexigram/admin/auth/models.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-08-21 14:26 +0800

1"""Authentication models for Lexigram Admin. 

2 

3This module re-exports admin user types for backwards-compatible access. 

4""" 

5 

6from __future__ import annotations 

7 

8from typing import Any 

9 

10from lexigram.admin.auth.integration import AdminUser as AdminUser 

11 

12# Re-export RoleDefinition — kept as Any until a concrete Role model is defined. 

13Role = Any 

14 

15# Guest user sentinel — None means "not authenticated". 

16GUEST_USER = None