[PR #1115] [MERGED] auth: move Permission and ValidationResults to auth crate #1129

Closed
opened 2026-02-27 09:11:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/1115
Author: @broeng
Created: 2/21/2025
Status: Merged
Merged: 2/22/2025
Merged by: @nitnelave

Base: mainHead: move-validation-results


📝 Commits (1)

  • 4c20a1e auth: move Permission and ValidationResults to auth crate

📊 Changes

10 files changed (+78 additions, -72 deletions)

View changed files

📝 crates/auth/Cargo.toml (+1 -0)
crates/auth/src/access_control.rs (+58 -0)
📝 crates/auth/src/lib.rs (+1 -0)
📝 server/Cargo.toml (+4 -0)
📝 server/src/infra/access_control.rs (+2 -58)
📝 server/src/infra/auth_service.rs (+4 -2)
📝 server/src/infra/graphql/api.rs (+2 -2)
📝 server/src/infra/graphql/mutation.rs (+2 -5)
📝 server/src/infra/graphql/query.rs (+2 -4)
📝 server/src/infra/ldap_handler.rs (+2 -1)

📄 Description

Moves the Permission enum and ValidationResults struct to the domain^Wauth crate.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/1115 **Author:** [@broeng](https://github.com/broeng) **Created:** 2/21/2025 **Status:** ✅ Merged **Merged:** 2/22/2025 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `move-validation-results` --- ### 📝 Commits (1) - [`4c20a1e`](https://github.com/lldap/lldap/commit/4c20a1e56e7af921fbe53f422008aed6b0fa5789) auth: move Permission and ValidationResults to auth crate ### 📊 Changes **10 files changed** (+78 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `crates/auth/Cargo.toml` (+1 -0) ➕ `crates/auth/src/access_control.rs` (+58 -0) 📝 `crates/auth/src/lib.rs` (+1 -0) 📝 `server/Cargo.toml` (+4 -0) 📝 `server/src/infra/access_control.rs` (+2 -58) 📝 `server/src/infra/auth_service.rs` (+4 -2) 📝 `server/src/infra/graphql/api.rs` (+2 -2) 📝 `server/src/infra/graphql/mutation.rs` (+2 -5) 📝 `server/src/infra/graphql/query.rs` (+2 -4) 📝 `server/src/infra/ldap_handler.rs` (+2 -1) </details> ### 📄 Description Moves the Permission enum and ValidationResults struct to the domain^Wauth crate. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:11:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#1129
No description provided.