When the back-end policies are doing their checks, for "review" permissions, they use review_assignments to get to reviews then applications.
The problem is, when a new user is used (or permissions added to existing user), they have no review assignments for completed applications, and they don't get re-generated as we ignore completed applications, and therefore they are unable to "extend" the applications.
Simplest fix would be to just included "expired" applications in the "refresh review assignments" process, but that's already very slow so would be reluctant to make it even slower.
Maybe we need to look at the "refresh review assignments" overall and find ways to speed it up.
When the back-end policies are doing their checks, for "review" permissions, they use
review_assignment
s to get to reviews then applications.The problem is, when a new user is used (or permissions added to existing user), they have no review assignments for completed applications, and they don't get re-generated as we ignore completed applications, and therefore they are unable to "extend" the applications.
Simplest fix would be to just included "expired" applications in the "refresh review assignments" process, but that's already very slow so would be reluctant to make it even slower.
Maybe we need to look at the "refresh review assignments" overall and find ways to speed it up.