-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement MM relation of modules and user domains #545
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The api-server sets the task User attribute with the JWT token id. This commit exports its value to the action steps, so they can use it as a trusted input parameter. A module or node agent cannot cheat the User value for other agents, only the cluster agent and the api-server which are trusted agents have the rights to submit tasks to other (untrusted) agents.
1e3f276
to
d342253
Compare
Tell how to use the module/user-domain relation, with programming examples.
Core roles are commonly defined at system installation time. The create-cluster action can find them already defined.
Modules can use the functions to bind/unbind with one or even more user domains.
d342253
to
14dec33
Compare
Core modules (Samba, OpenLDAP) can use this function to retrieve the list of modules bound with them.
…internal-domain, and remove-module actions
Co-authored-by: Davide Principi <[email protected]>
DavidePrincipi
commented
Jan 11, 2024
core/imageroot/var/lib/nethserver/cluster/actions/remove-module/50update
Outdated
Show resolved
Hide resolved
Co-authored-by: Davide Principi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refs NethServer/dev#6814
This commit of Developer's manual describes what the feature does: 9280d4d
Tasks
agent
module stub of functions