The SIO2 project
  1. The SIO2 project
  2. SIO-1265

Rework Submissions' Access Control To Enable More Robust And Flexible Determining What Should Be Shown And What Not™

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Obsolete
    • Affects Version/s: Current Version
    • Fix Version/s: Far Future
    • Component/s: OIOIOI
    • Labels:

      Description

      And this everything just to show scores in submissions diff view...

      Current design doesn't cooperate well with cross-users submission privileges. Sometimes (namely in cheaters app, source publicizing) we want to show source code (and score in the latter) to non-owner and non-admin, but reusing existing views (especially for source) breaks, when other part of the code want's to show there some useful info.


      What we have thought so far:
      * It would be really great, to not have to worry in templates whether we should add some diff to check is value is visible. We can achieve that by creating wrapper over Submission objects, which sets to None inaccessible attributes.
      * (already forgot)

        Activity

        Show
        Maciej Matraszek added a comment - https://gerrit.sio2project.mimuw.edu.pl/#/c/1700/
        Hide
        Szymon Acedański added a comment -
        This issue has been automatically closed as Obsolete due to no activity for 365 days.

        Feel free to reopen it or create a new one if it's still relevant.
        Show
        Szymon Acedański added a comment - This issue has been automatically closed as Obsolete due to no activity for 365 days. Feel free to reopen it or create a new one if it's still relevant.

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Maciej Matraszek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: