We ran into a problem with /admin/people/permissions being reaaaally slow to load, when having a lot of (~10) roles, and a lot of permissions (60 or so modules) because the JS on-load was doing _a_lot_ of DOM processing.

The following core issue exists that tries to fix the situation: #1203766: With large number of permissions /admin/people/permissions becomes unusable

HOWEVER, since LoginToboggan replaces the entire user.permissions.js-script, any changes to remedy this fact in core, will be nullified by LoginToboggan. So either the changes in that issue needs to be replicated to logintoboggan.permissions.js, or another way of doing the slight change of functionality that LoginToboggan needs has to be found..

Regards
Morten

Comments

BenK’s picture

Subscribing

hunmonk’s picture

Status: Active » Postponed

for now, postponing until [##1203766] is resolved. once that's finished, feel free to reopen this issue and we can port the changes to LT. or if somebody posts an alternative, less invasive fix in the meantime i'd be willing to look at that. it might be possible to do it with another js file loaded after the user js file, i don't know. otherwise, there is no other way to provide the functionality.

hunmonk’s picture

keeping in line with #1203766-24: With large number of permissions /admin/people/permissions becomes unusable i've pushed a matching fix to LT in 7.x-1.x-dev.

i will leave this issue as postponed until #1203766: With large number of permissions /admin/people/permissions becomes unusable is fully fixed.

Neil McKay’s picture

subscribing

2xe’s picture

This breaks the permissions page and renders it completely unusable; It took me 2 hours to debug and find the cause for this; some intermediate fix would be appreciated - we must remove logintoboggan from our site while this is an issue.

Alconaft43’s picture

In additional it is conflicts with Field permissions module. Table with custom field permissions become hidden.