Page 1 of 1

Disable Install/Uninstall Extension

Posted: Sun Jan 24, 2021 2:10 pm
by Etheravion
Hi,

Even though at System -> Users -> User Groups, I've un-ticked the user's specific extension access and modify permission, I still can install or uninstall the extension. Is it suppose to behave this way? Please advise. Thanks.

Re: Disable Install/Uninstall Extension

Posted: Sun Jan 24, 2021 4:14 pm
by grgr
No, should not be able to, but can.

The bit that stops them is acutally "extension/module" but this stops ALL modules being installed/uninstalled/edited.

Re: Disable Install/Uninstall Extension

Posted: Sun Jan 24, 2021 4:20 pm
by Etheravion
Thanks! I found that un-tick this extension/extension/module modify permission does the trick! ;D

Re: Disable Install/Uninstall Extension

Posted: Sun Jan 24, 2021 4:24 pm
by grgr
If you uneed more granular control (per module) then you can do it by updating the ../extension/controller/module.php file validation function.