Skip to content

Config/user roles parameter template, userInfo updates and refactoring#724

Draft
canptura wants to merge 16 commits intomainfrom
config/user-parameter-roles-template
Draft

Config/user roles parameter template, userInfo updates and refactoring#724
canptura wants to merge 16 commits intomainfrom
config/user-parameter-roles-template

Conversation

@canptura
Copy link
Copy Markdown
Contributor

@canptura canptura commented Mar 23, 2026

This branch introduces two new virtual parameters and various changes in the storage/display of userInfo-Parameters as well as some refactorings.

  • introduces virtual parameters for:
    • a users roles
    • roles of an organization
      • with their corresponding users as subParameters
  • user and organization templates updated for roles
  • userInfo parameters updates
    • name fields changed to kebab-case
    • field parameters are no longer stored in the DB but generated on load
  • templates reordered in a fine grained manner
  • split helper functions into aas- and non-aas helper functions

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@canptura canptura marked this pull request as draft March 25, 2026 11:23
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@canptura canptura marked this pull request as ready for review March 27, 2026 15:03
@canptura canptura changed the title Config/user parameter roles template Config/user parameter roles template, userInfo updated and refactoring Mar 27, 2026
@canptura canptura changed the title Config/user parameter roles template, userInfo updated and refactoring Config/user roles parameter template, userInfo updates and refactoring Mar 27, 2026
Copy link
Copy Markdown
Contributor

@jjoderis jjoderis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment it looks as if the user has the ability to change the virtual parameters like a users name. Is this intended or should this be changed before this PR is merged?

Comment thread src/management-system-v2/lib/data/db/machine-config.ts
Comment thread src/management-system-v2/lib/data/db/machine-config.ts Outdated
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread src/management-system-v2/lib/data/db/machine-config.ts Outdated
Comment thread src/management-system-v2/lib/data/db/machine-config.ts
Comment thread src/management-system-v2/lib/data/db/machine-config.ts
Comment thread src/management-system-v2/lib/data/db/machine-config.ts
@github-actions

This comment has been minimized.

@canptura
Copy link
Copy Markdown
Contributor Author

At the moment it looks as if the user has the ability to change the virtual parameters like a users name. Is this intended or should this be changed before this PR is merged?

This will be handled in the frontend. Most likely on a subsequent PR

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown

CLOUDRUN ACTIONS

✅ Successfully created Preview Deployment.

https://pr-724---ms-server-staging-c4f6qdpj7q-ew.a.run.app

@canptura canptura marked this pull request as draft April 22, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants