Skip to content
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
merged 24 commits into from
Jan 18, 2024
Merged

Conversation

DavidePrincipi
Copy link
Member

@DavidePrincipi DavidePrincipi commented Dec 28, 2023

Refs NethServer/dev#6814

This commit of Developer's manual describes what the feature does: 9280d4d

Tasks

  • Implement AGENT_TASK_USER runtime environment variable in Golang agent code
  • Admin's manual changes stub
  • Developer's manual change stub: event and agent functions documentation
  • Python agent module stub of functions
  • Backend API stub
  • Define authorization role for backend API
  • Core implementation

github-actions bot pushed a commit that referenced this pull request Dec 28, 2023
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.
github-actions bot pushed a commit that referenced this pull request Jan 9, 2024
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.
github-actions bot pushed a commit that referenced this pull request Jan 9, 2024
Core modules (Samba, OpenLDAP) can use this function to retrieve the
list of modules bound with them.
github-actions bot pushed a commit that referenced this pull request Jan 9, 2024
@stephdl stephdl self-assigned this Jan 10, 2024
github-actions bot pushed a commit that referenced this pull request Jan 10, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
Co-authored-by: Davide Principi <[email protected]>
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
Co-authored-by: Davide Principi <[email protected]>
github-actions bot pushed a commit that referenced this pull request Jan 11, 2024
@stephdl stephdl requested review from stephdl and removed request for stephdl January 12, 2024 08:11
@DavidePrincipi DavidePrincipi marked this pull request as ready for review January 12, 2024 14:03
@DavidePrincipi DavidePrincipi self-assigned this Jan 12, 2024
github-actions bot pushed a commit that referenced this pull request Jan 12, 2024
github-actions bot pushed a commit that referenced this pull request Jan 12, 2024
github-actions bot pushed a commit that referenced this pull request Jan 16, 2024
@DavidePrincipi DavidePrincipi added the testing Start test suite label Jan 18, 2024
@DavidePrincipi DavidePrincipi merged commit 5aa4b4d into main Jan 18, 2024
9 checks passed
@DavidePrincipi DavidePrincipi deleted the feat-6814 branch January 18, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Start test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants