nextcloud / nextcloud/user_usage_report
Add group memberships column
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- PHP
- Stars
- 45
- Forks
- 12
- Avg merge
- 13h 25m
- Merged PRs (30d)
- 19
Description
thanks for your work.
how could one add groups of a user to the output? is this even possible since users can have multiple groups?
i started by adding this to AllUsers.php
$query = $this->connection->getQueryBuilder();
$query->select('gid')
->from('group_user');
$this->queries['groups'] = $query;
this is not finished at all..
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in AllUsers.php and inspect how the existing query and report output are assembled, including the group_user lookup shown in the issue. Determine how multiple groups should appear in the output, then verify that users with multiple memberships are represented correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100