[wp-meta] [Making WordPress.org] #1350: Allow WordCamp site administrators to mark payment requests as incomplete

Making WordPress.org noreply at wordpress.org
Thu Oct 29 18:16:46 UTC 2015


#1350: Allow WordCamp site administrators to mark payment requests as incomplete
----------------------------+--------------------------
  Reporter:  JustinSainton  |      Owner:
      Type:  enhancement    |     Status:  new
  Priority:  normal         |  Component:  wordcamp.org
Resolution:                 |   Keywords:  dev-feedback
----------------------------+--------------------------

Comment (by JustinSainton):

 awesome, thanks @jenmylo!

 @iandunn, just want to outline my initial thoughts regarding an approach
 here after reviewing [1816] and [1820].

 * The goal here is to give admins the functionality that only network
 admins currently have. My thinking is that where the cap checks currently
 check `manage_network`, we should check `manage_options`.
 * In `notify_requester_request_incomplete`, we'd only want to notify the
 requester if it is a network admin marking it as incomplete. Therefore,
 the initial condition inside of that function could probably include ` ||
 ! current_user_can( 'manage_network' )`.

 With those minor changes, I think we'd be set?

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1350#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list