I don't know if "multivalued attribute" sounds good but I will try to explain my problem. I work on a web app and I have a list of users. Each user has a number (from 0 to ≈100) of "codes" related to him. Each code can be related to one or many users.
I have to display the list of users and the codes for each user. I also have to allows the administrators to edit the links between the codes and the users.
These requirements make the UI/UX a bit complex for me and I don't know how to do this. I thought about the following wireframes but I think it could be better.
One table with the list of users with a button displaying another table with all the related codes. Then I thought about a textaera allowing a raw editing of these codes (the administrators should be able to edit multiple codes in a row).
The main difficulty is how to edit/delete all these codes. I don't like the textaera but I don't know how to do it better.
These views are for administrators only (around 4 users) so they don't have to be "beautiful" or very "user-friendly" and can't take a lot of my time. But administrators have to easily know the codes related to the users and quickly edit them if needed.