Work with this first version of the plugin is done. Now being ported to 5.3 under name WP Permit