Skip to content
Snippets Groups Projects
  1. Jun 26, 2024
  2. Jun 19, 2024
  3. Jun 15, 2024
  4. Jun 13, 2024
  5. Jun 08, 2024
  6. Jun 04, 2024
  7. Jun 01, 2024
  8. May 28, 2024
  9. May 27, 2024
  10. May 22, 2024
  11. May 21, 2024
  12. May 08, 2024
  13. May 07, 2024
  14. May 06, 2024
    • Wes Appler's avatar
      Visibility fixes for partners that are also applicants (#3893) · 3b513347
      Wes Appler authored
      Fixes #3892. This solution was a bit unruly (especially ugly after
      linting) but it seemed like the logical approach without refactoring the
      whole `visibility_for` to be a normal method rather than a class method.
      This fix evaluates if the partner/reviewer is the author of the source
      submission first before evaluating the their role. The reviewer role was
      also lumped in here because even though I know we advise against a
      reviewer also being an applicant, it still could happen without
      oversight.
      
      I tried to keep the code as clean as I could and reuse QuerySets, but
      let me know if y'all see any way I can optimize!
  15. May 04, 2024
Loading