mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 00:05:50 +03:00
[GH-ISSUE #714] Plugin system #258
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nitnelave on GitHub (Oct 25, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/714
WIP issue to jot down some notes:
https://github.com/extism/extism
Register itself
Hook into the domain methods
Initialization code
Useful for:
Setting up and managing custom attributes.
Extra logging/audit/security enforcement
More?
@fgardt commented on GitHub (Oct 26, 2023):
maybe also the possibility to extend the web UI with a new page per plugin but that would involve adding some way to add new APIs etc
@nitnelave commented on GitHub (Oct 26, 2023):
I think making the web UI extensible is going to be another whole can of
worms that I don't want to get into. I was more thinking of plugins as
unintrusive pieces of logic that hook into the lower-level calls
("create_user", "add_user_to_group" and so on) and return a modified
request, potentially issuing more requests or adding some logging and so on.
And ideally, with the right setup, you can have the plugins be written in
any language that compiles to WASM. A Lua or go plugin could be fairly
simple to write for most sysadmins, to support their
{auto-incrementing/unique/CRC-checked} custom attribute.
On Thu, Oct 26, 2023 at 2:29 PM Florian Gebhardt @.***>
wrote:
--
Valentin Tolmer
@fgardt commented on GitHub (Oct 26, 2023):
so more as a way to enforce / automate certain parts of user / group attributes and creation ok
@nitnelave commented on GitHub (Jan 30, 2024):
FYI, I'm exploring what a plugin API would look like in https://github.com/nitnelave/lldap_plugin_poc, feel free to leave some comments in issues/discussions there, or just on discord in the #development channel.
@nitnelave commented on GitHub (Jan 23, 2025):
@broeng started writing an RFC, feel free to contribute/review/comment/suggest: https://docs.google.com/document/d/1pWbiZXhfJVx3XDMEz7VWUAJVPj3kT0O95G_sYZ09OLM/edit?usp=sharing
@tenninjas commented on GitHub (Feb 28, 2025):
I'm available to help with testing this, please ping me when I can help.