[wp-meta] [Making WordPress.org] #2255: Improve performance of permission checks

Making WordPress.org noreply at wordpress.org
Sat Nov 19 13:51:52 UTC 2016

#2255: Improve performance of permission checks
 Reporter:  ocean90                   |       Owner:  ocean90
     Type:  defect                    |      Status:  accepted
 Priority:  high                      |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:
 Keywords:                            |

Comment (by ocean90):

 In [changeset:"4377"]:
 #!CommitTicketReference repository="" revision="4377"
 Translate, Rosetta Roles: Don't use `get_project_id_access_list()` to
 check if a user can approve translations for a sub project.

 Instead, check if one of the parent project IDs is the access list. This
 scales much better with 56k projects.

 See #2255.

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

More information about the wp-meta mailing list