Skip to main content

plsql_privileges/
lib.rs

1#![forbid(unsafe_code)]
2
3//! Privilege and authorization model for PL/SQL analysis.
4//!
5//! Models authorization-relevant semantics by combining source-code annotations
6//! (`AUTHID`, `ACCESSIBLE BY`) with catalog-derived grants and roles.
7//!
8//! This crate is Layer 2 of the dependency graph — it depends on `plsql-core`
9//! and `plsql-catalog`.
10
11mod ambiguity_feed;
12mod doctor;
13mod model;
14mod resolve;
15
16pub use ambiguity_feed::{
17    AMBIGUITY_EVIDENCE_CODE, AmbiguityFeedEntry, ambiguity_feed, confidence_ceiling_for,
18    downgrade_confidence,
19};
20pub use doctor::{
21    AuthidDistribution, DoctorReasonRow, PrivilegeDoctorReport, PrivilegePosture, doctor_report,
22};
23pub use model::*;
24pub use resolve::*;