Create an anonymous session for internal/testing use
(&self)
| 223 | |
| 224 | /// Create an anonymous session for internal/testing use |
| 225 | pub fn create_anonymous_session(&self) -> Result<String, String> { |
| 226 | let permissions = SessionPermissionCache::new(); |
| 227 | self.create_session( |
| 228 | "anonymous".to_string(), |
| 229 | vec!["user".to_string()], |
| 230 | permissions, |
| 231 | ) |
| 232 | } |
| 233 | |
| 234 | /// Invalidate all sessions currently using the specified graph |
| 235 | /// This is called when a graph is dropped to prevent stale data access |
nothing calls this directly
no test coverage detected