1. 25 Nov, 2019 3 commits
    • Mark Chao's avatar
      Fix scope to handle private guest permission · 71038550
      Mark Chao authored
      Guest are blocked to certain feature when project is private,
      therefore the scope would filter additionally with REPORTER level.
      71038550
    • Mark Chao's avatar
      ES: fix note leak for private feature · b4154340
      Mark Chao authored
      Note has 4 parent types. Since they are different features, they
      can't share project ids filtering.
      
      Each "has_parent" query must be "AND"ed with its respective filtered
      project ids. The 4 queries are then "OR"ed.
      b4154340
    • Mark Chao's avatar
      ES: update permission spec table · 53869dc2
      Mark Chao authored
      Remove impossible cases due to private project's features can only be
      private or disabled.
      
      Fix spec due to sidekiq indexing not triggered.
      
      Update guest use cases: some features has additional constraint that
      "Guest users are able to perform action on public/internal projects,
      but not private ones."
      53869dc2
  2. 24 Nov, 2019 10 commits
  3. 22 Nov, 2019 27 commits