Opening de/admin/config/workbench/access/roles/taxonomy/xx list all my users assigned to the group. The table has an unlimited size and with 1000 users you will may run OOM or into PHP timeouts. We should add a pager to this page.

Comments

agentrickard’s picture

Category: bug » task
agentrickard’s picture

That is non-trivial because you can't build the access tree using a single query.

hass’s picture

db_select()? How complex are the queries? I could give it a try if you could give me the queries...

agentrickard’s picture

We aren't using queries now on that form page. That's the problem. We're using taxonomy_get_tree() and menu_tree_all_data() to build the list(s).

Once we set the hierarchy, we use queries on the other pages (roles and editors). But the hierarchy defaults themselves are pulled from the active tree.

See taxonomy_workbench_access_tree().

ijortengab’s picture

I have same problem, i think that code should be replaced by views user.

agentrickard’s picture

I misunderstood the OP. This should be achievable using a pager query on the queries in lines 789 and 792 of workbench_access.admin.inc. Then paginate the table builder.