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
Comment #1
BenK CreditAttribution: BenK commentedSubscribing
Comment #2
hunmonk CreditAttribution: hunmonk commentedfor 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.
Comment #3
hunmonk CreditAttribution: hunmonk commentedkeeping 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.
Comment #4
Neil McKay CreditAttribution: Neil McKay commentedsubscribing
Comment #5
2xe CreditAttribution: 2xe commentedThis 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.
Comment #6
Alconaft43 CreditAttribution: Alconaft43 commentedIn additional it is conflicts with Field permissions module. Table with custom field permissions become hidden.