streampipes icon indicating copy to clipboard operation
streampipes copied to clipboard

User edit dialog expects username

Open bossenti opened this issue 10 months ago • 4 comments

Apache StreamPipes version

dev (current development state)

Affected StreamPipes components

UI

What happened?

When editing a user in the user management, the dialog expects the user name to be provided.

image

This is an issue since the username is never present when the user was created through self-registration.

How to reproduce?

No response

Expected behavior

No response

Additional technical information

No response

Are you willing to submit a PR?

No, I don't want to submit a PR.

bossenti avatar Apr 02 '24 08:04 bossenti

Hey @bossenti! This issue also occurs when some other admins want to edit the initial admin [email protected]. I believe the expected behavior is that the username field is not required right? If so it's just a one-line change. I have found the line but since this change is so simple, maybe we should label it as a good-first-issue so that first time contributors can have a try? If nobody claimes it for say 2 months, I'll push the fix.

muyangye avatar Apr 27 '24 11:04 muyangye

Good idea @muyangye, let's do it like that In addition, we can think of if we want to keep the property Full Name both in the UI and the data model. AFAIK, it is not used currently

bossenti avatar Apr 29 '24 05:04 bossenti

In my opinion, we should probably keep it despite it's not currently used in code because users might want to know that attribute. For example, an assembly line may have multiple industrial/manufactural engineers who use StreamPipes and they/their admin might be interested in knowing who is who. What do you think?

muyangye avatar Apr 29 '24 22:04 muyangye

Yes, I agree. In mid-/longterm we might want to use it, especially if integrating SSO somewhen

bossenti avatar Apr 30 '24 06:04 bossenti