web
web copied to clipboard
[web] Admin Settings: Add possibility to filter users who have not yet logged in
Describe the bug
relates to https://github.com/owncloud/enterprise/issues/6597
Steps to reproduce
- login via https://github.com/owncloud/enterprise/issues/6597
- Go to
Admin Settings
>Users
- Filter by
Roles
>User
(orRoles
>User
) - Users that have never logged in cant get filtered
Expected behavior
- ~Option 1 (preferred): Users without a rele gets listed Alternative:~ <-- Important: That would be the real expect behaviour, but due to technical limitations, option 2 would be the way to go
- Option 2 (if Option 1 is too expensive):
- Add role filteroption
None (Never logged in)
that shows all users without a role. - Add group filteroption
None
that shows all users without a group. Show optionNone
on top of the list - Note: Option 2 would be a workaround for the situation that we don't know the role/group ... until the user loggs in at least once.
- Add role filteroption
Actual behavior
- Users that have never logged in cant get filtered
@tbsbdr add backend ticket
If we choose option 1: this would be a server only ticket. Option 2: This might need an additional server implementation (filter).
But I despite option 2
@rhafer can we get a filter in this sprint? It seems to miss and blocks this ticket
Cc @micbar
Just for completeness: We just discussed this and figured that this needs some more thoughts as the resulting (short-term) solution would be quite slow. Relates a bit to https://github.com/owncloud/ocis/issues/8938 . We're postponing this for now.
I removed the ticket from the sprint, pr with the current progress will be linked, if we decide to go that route anyways later