Skip to content
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

display the roles(s) for a User in the Manage > Users table #111

Open
hellboy1975 opened this issue Jan 26, 2024 · 1 comment
Open

display the roles(s) for a User in the Manage > Users table #111

hellboy1975 opened this issue Jan 26, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@hellboy1975
Copy link
Owner

hellboy1975 commented Jan 26, 2024

image

@hellboy1975 hellboy1975 added this to the Release 0.1.2 milestone Jan 26, 2024
@hellboy1975 hellboy1975 added the enhancement New feature or request label Jan 26, 2024
@hellboy1975 hellboy1975 changed the title Manage Users table should show Role(s) display the roles(s) for a User in the Manage > Users table Jan 26, 2024
@hellboy1975
Copy link
Owner Author

this one is tricky, as the relationships are stored in another table, rather than serialised in a column in the users table. This means generating a list of users involved on extra select for each row in the table - a somewhat costly exercise

Possible alternatives:

  • the Users table used could be based on a select on user_club and then joins to users. Grouping then used to display single User rows
  • Re-write the relationship used for users to clubs to serialise these in the Users record.

I think the second is probably a simpler approach, and as the User to Club relationship is a simple one, and often only <5 records, a viable approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant