[wp-trac] [WordPress Trac] #51703: Add fine grained capabilities for managing app passwords

WordPress Trac noreply at wordpress.org
Sun Jan 31 19:02:44 UTC 2021


#51703: Add fine grained capabilities for managing app passwords
-------------------------------------------------+-------------------------
 Reporter:  TimothyBlynJacobs                    |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Application Passwords                |     Version:  5.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  granular-capabilities has-patch      |     Focuses:  rest-api
  has-unit-tests                                 |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):

 * owner:  (none) => TimothyBlynJacobs
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50114" 50114]:
 {{{
 #!CommitTicketReference repository="" revision="50114"
 App Passwords: Introduce fine grained capabilities.

 Previously, all permission checks for using app passwords were implemented
 using `edit_user`. This commit introduces a series of more fine grained
 meta capabilities that should be used instead: `create_app_password`,
 `list_app_passwords`, `read_app_password`, `edit_app_password`,
 `delete_app_password` and `delete_app_passwords`. These capabilities all
 map to `edit_user` by default, but may now be customized by developers.

 Props johnbillion, TimothyBlynJacobs.
 Fixes #51703.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51703#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list