Opened 7 years ago
Last modified 6 years ago
#42404 new enhancement
Introduce singular capabilities for managing individual plugins
Reported by: | johnbillion | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Role/Capability | Keywords: | needs-unit-tests granular-capabilities has-patch needs-testing |
Focuses: | administration | Cc: |
Description
In #38652, singular capabilities were added for activating and deactivating individual plugins.
The same should be added for other management actions for plugins:
edit_plugin
(ability to adit plugin via the Plugin Editor)delete_plugin
(ability to outright delete the plugin)update_plugin
(ability to update a plugin)
Network activation and deactivation will be handled in #42403
Attachments (5)
Change History (7)
#1
@
7 years ago
- Keywords has-patch needs-testing added; needs-patch removed
The implementation of 'update_plugin' has been more complex than the others, it would need to be tested further.
Also it needs a second opinion about the creation of the new function wp_get_plugin_updates_disallowed_count()
(naming and behavior), and the general behavior (sorry for the typo):
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
6 years ago
Note: See
TracTickets for help on using
tickets.
Handled singular capability 'delete_plugin'. It still needs unit tests.