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/
        Szymon Acedański made changes -
        Field Original Value New Value
        Status New [ 10000 ] Open [ 1 ]
        Szymon Acedański made changes -
        Fix Version/s Near Future [ 11001 ]
        Maciej Dębski made changes -
        Summary Rework Submissions' Access Control To Enable More Robust And Flexible Determining What Should Be Show And What Not™ Rework Submissions' Access Control To Enable More Robust And Flexible Determining What Should Be Shown And What Not™
        Szymon Acedański made changes -
        Affects Version/s Current Version [ 11000 ]
        Affects Version/s Near Future [ 11001 ]
        Szymon Acedański made changes -
        Fix Version/s Far Future [ 11002 ]
        Fix Version/s Near Future [ 11001 ]
        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.
        Szymon Acedański made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Szymon Acedański [ accek ]
        Resolution Obsolete [ 7 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        New New Open Open
        121d 16h 57m 1 Szymon Acedański 2013-10-5 18:18
        Open Open Resolved Resolved
        2395d 22h 10m 1 Szymon Acedański 2020-04-27 16:29

          People

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

            Dates

            • Created:
              Updated:
              Resolved: