[wp-trac] [WordPress Trac] #60029: Admin unable to create new Application Password for user with no role on main site (multisite)

WordPress Trac noreply at wordpress.org
Wed Apr 16 13:18:18 UTC 2025


#60029: Admin unable to create new Application Password for user with no role on
main site (multisite)
-------------------------------------------------+-------------------------
 Reporter:  roytanck                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.9
Component:  Application Passwords                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests reporter-   |     Focuses:  multisite
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by roytanck):

 Thank you for testing. Obviously I'm no longer using WP 6.4. This is an
 older ticket, and 6.4 was the current version when it was created.

 The error occurs when a network admin attempts to create an application
 key from the network admin users screen (`wp-admin/network/user-
 edit.php?user_id=[user_id]`). It does indeed work if you instead go to the
 subsite, and edit the user from there.

 If we decide that creating new application keys should only be possible in
 a context (site) where the user has a role, then we should probably hide
 the UI in the network admin. If not, we should make it possible to create
 new keys without this error happening.

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


More information about the wp-trac mailing list