MODxRE2_DropdownMenu not working
pmfx opened this issue · 15 comments
MODxRE2_DropdownMenu is amazing but Manager main frame is not working when user role don't have "Run module" permission.
This is working for me, any other settings that might be different between roles?
OK, I was able to replicate the problem, but I think the problem is with "Edit Plugins".
Leave everything like you have it, but enable the "Edit Plugins" to see if the same thing happens.
Yup. With "edit plugin" permission it works. This is odd behavior.
In my instance, I am using a plugin (EvoDashboard) that personalizes the welcome page.
If I disable this, all works as intended.
Are you using any similar plugins as well?
Tomorrow, if I get the chance, I will create a fresh install and see if it is still does this.
Either way its strange and shouldn't be happening, as I dont let other users edit plugins.
I just created a clean install, and now it is functioning correctly.
Maybe you could do the same to see what happens?
Im going to keep messing with it to see what is triggering this error.
It seems to me this is related to "elementsInTree"-plugin. If user has no permissions to any type of elements, it leaves a <div>
open which causes the HTML-code to break and the dashboard to be not displayed.
I guess this should be the fix.
Thanks @Deesen
Yes this seems to fix it.
It occurs when user role have no elements/modules permissions even if ElementsInTree plugin is disabled.
Yes this is related to #1342 (comment)