• Hello
    How can I deny installation of plugins for any user role?

    I went to “Access Policies” and created new policy
    for example:

    
    {
        "Version": "1.0.0",
        "Dependency": {
            "wordpress": ">=5.0"
        },
        "Statement": [
            {
                "Effect": "deny",
                "Resource": [
                    "Plugin:duplicator"
                ],
                "Action": [
                    "WP:install",
                    "WP:activate"
                ]
            }
        ]
    }
    

    I attached the role in the sidebar to all user roles but still I can install the plugin.

    Please help
    Thanks

  • The topic ‘How can I deny installation of plugins for any user role?’ is closed to new replies.