[PR #177] [MERGED] Introduce a read-only user #592

Closed
opened 2026-02-27 08:18:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/177
Author: @nitnelave
Created: 6/6/2022
Status: Merged
Merged: 6/6/2022
Merged by: @nitnelave

Base: mainHead: readonly


📝 Commits (1)

  • 667a9e1 server: Introduce a read-only user

📊 Changes

5 files changed (+161 additions, -82 deletions)

View changed files

📝 server/src/infra/auth_service.rs (+42 -7)
📝 server/src/infra/graphql/mutation.rs (+8 -8)
📝 server/src/infra/graphql/query.rs (+5 -5)
📝 server/src/infra/ldap_handler.rs (+92 -61)
📝 server/src/main.rs (+14 -1)

📄 Description

Fixes #176 .

This PR will create a group "lldap_readonly" on first run. Then the admin can create a user and add it to this group. It'll then be available both for web access (read-only except to update the details of the read-only user) and through LDAP (same, readonly except to change its own password).


🔄 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/177 **Author:** [@nitnelave](https://github.com/nitnelave) **Created:** 6/6/2022 **Status:** ✅ Merged **Merged:** 6/6/2022 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `readonly` --- ### 📝 Commits (1) - [`667a9e1`](https://github.com/lldap/lldap/commit/667a9e1b073145e40a727fdeca601c5d830ad299) server: Introduce a read-only user ### 📊 Changes **5 files changed** (+161 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `server/src/infra/auth_service.rs` (+42 -7) 📝 `server/src/infra/graphql/mutation.rs` (+8 -8) 📝 `server/src/infra/graphql/query.rs` (+5 -5) 📝 `server/src/infra/ldap_handler.rs` (+92 -61) 📝 `server/src/main.rs` (+14 -1) </details> ### 📄 Description Fixes #176 . This PR will create a group "lldap_readonly" on first run. Then the admin can create a user and add it to this group. It'll then be available both for web access (read-only except to update the details of the read-only user) and through LDAP (same, readonly except to change its own password). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:18:06 +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#592
No description provided.