-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Admin][Users] Introduce user creation and modification capability #5824
Comments
@kennyadsl @adammathys do we want to add a Same deal with the profile picture? Add it as an attachment on the model in core? I just want to make sure I'm not making too many assumptions based on the design, but if we want to 100% match the designs regardless of what we currently have for columns in core I can keep that in mind for future issues and just add whatever we need to adhere to them. |
Good questions, someone has to make a decision here. It's pretty common to have this info on the user table indeed. So I guess we should do it. For the attachment, my preference is to start without it, it has been never requested to us if I recall correctly. Some other options might be using gravatar for now? I can definitely live without it and I'm sure there's other stuff with more priority. That said, I'm ok with having @MadelineCollier having a final word here. One way or the other it will work and it will be an improvement. |
Progress update from this week, still some kinks to iron out before it can go to PR. There weren't any designs aside from the "invite new user" flow so I just freestyled it with our existing page layouts and components. Hope it looks okay! Screen.Recording.2024-09-13.at.6.14.02.PM.movI am noticing that there are a lot of spots in the old admin that look like this:
I don't see any similar occurrences in the new admin, and I am wondering if we have an existing plan for how we want to handle CanCan stuff in our new components. For now I am just |
@MadelineCollier nice! We should definitely address the missing CanCan conditional code. @rainerdema @elia do you have any context why this is missing in the new admin? Were we planning to add it later? |
Hey @rainerdema (separate issue from the above) I have been wondering about re-using the The old admin version looks like this: The only roadblock for reusing the Is there a reason it's not passing the form here? Or is this code just a bit older and missing out on the new options that Every other occurrence that I could find of Hoping to get some context from you before I make any changes that might break something in the orders admin :) |
@kennyadsl @MadelineCollier I think we were planning to add them later in some way, there were a few changes that we wanted to make to make permissions more understandable and manageable from the UI. I guess that's an unsolved problem, and we should find the best trade off between the components being self contained and also know about permissions. I think probably the easiest separation would be to avoid any permissions checks within |
@MadelineCollier I think you're right that's an older version, but should be easy enough to pass the form object name prefix to it and make it work outside of the order. The order surely needs to control that prefix to separate billing and shipping addresses. |
Update
This issue has grown in scope to encompass the entirety of the user admin's sub-menus since those didn't have their own standalone tickets.
Description
Develop the functionality to add and edit users through the admin panel, providing fields for key user details and the ability to assign roles.
Note: The user invitation feature will be implemented in a separated task
Features
Figma Design
Storyboard
Design details
The text was updated successfully, but these errors were encountered: