Add User resource #5

Closed
opened 2025-03-18 15:22:26 +00:00 by Dreaded_X · 4 comments
Owner

Enable the controller to also manage user accounts.

It should only manage fields that are not managed by the user:

  • username
  • groups
  • email?

The user should be informed, by email, that their account has been created.
Ideally this is done by lldap, but not sure if that is possible, if not we'll implement it into the controller.

Enable the controller to also manage user accounts. It should only manage fields that are not managed by the user: - username - groups - email? The user should be informed, by email, that their account has been created. Ideally this is done by lldap, but not sure if that is possible, if not we'll implement it into the controller.
Author
Owner

Might also be an idea to have initial options.
These values will set the respective field to that value, but only when the user is created in lldap.

Might also be an idea to have initial<field> options. These values will set the respective field to that value, but only when the user is created in lldap.
Dreaded_X added a new dependency 2025-03-18 15:30:35 +00:00
Dreaded_X changed title from Add UserAccount to Add User resource 2025-03-19 02:16:28 +00:00
Author
Owner

Resource would look like this:

apiVersion: lldap.huizinga.dev/v1
kind: User
metadata:
  name: dreaded_x
spec:
  initial:
    firstName: Tim
    lastName: Huizinga
    displayName: Dreaded_X
    email: tim@huizinga.dev
  groups:
    - git

I believe there are some restrictions on the name field, so might have to figure out something for that

Resource would look like this: ``` apiVersion: lldap.huizinga.dev/v1 kind: User metadata: name: dreaded_x spec: initial: firstName: Tim lastName: Huizinga displayName: Dreaded_X email: tim@huizinga.dev groups: - git ``` I believe there are some restrictions on the name field, so might have to figure out something for that
Author
Owner

Not really a fan of the initial thing. Might be better to just use the webui to manage real users.

Not really a fan of the `initial` thing. Might be better to just use the webui to manage real users.
Author
Owner

Not really a fan of the initial thing. Might be better to just use the webui to manage real users.

Not really a fan of the `initial` thing. Might be better to just use the webui to manage real users.
Dreaded_X removed a dependency 2025-03-19 02:21:58 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
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: Dreaded_X/lldap-controller#5
No description provided.