WordPress / wordpress.org

WordPress.org Meta, Git-ified. Synced from git://meta.git.wordpress.org/ This repository is just a mirror of the WordPress Meta subversion repository. Please include a link to a pre-existing ticket on https://meta.trac.wordpress.org/ with every pull request.
https://meta.trac.wordpress.org/
109 stars 140 forks source link

Filter the CRUD permissions for the events #311

Closed amieiro closed 3 months ago

amieiro commented 4 months ago

This PR filters the CRUD permissions for the events, so some special user can CRUD events, using the gp_translation_events_can_crud_event, available in the wporg-gp-translation-events plugin.

This PR overwrites the permissions of the plugin, adding CRUD permissions to:

Fixes https://github.com/WordPress/wporg-gp-translation-events/issues/244.

amieiro commented 3 months ago

Deployed here.