Ipstenu / varnish-http-purge

Proxy Cache Purge
Apache License 2.0
46 stars 48 forks source link

Limit the "Purge Varnish" buttons to admins network admins #28

Closed phh closed 7 years ago

phh commented 7 years ago

Check if the user can manage_options before outputting the "Purge Varnish" button instead of checking if the user cannot manage_network

Fixes #27

Ipstenu commented 7 years ago

Changed to a slightly different fix. Thank you!