cameronterry / dark-matter

A highly opinionated domain mapping plugin for WordPress Networks
Other
12 stars 2 forks source link

Missing filter to set domain permission check #51

Closed svandragt closed 3 years ago

svandragt commented 3 years ago

Would be good to be able to filter the permission regarding who can manage domains.

currently it's the following, despite the settings menu being part of the site (logic then dictates site admins should be able to do this).

public function create_item_permissions_check( $request ) {
        return current_user_can( 'upgrade_network' );
    }
cameronterry commented 3 years ago

This has been introduced in release 2.1.2. Therefore closing this issue as fixed.