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

Some links in teacher problems view are not allowed to use

    Details

      Description

      When a teacher adds a public problem from problemset, they can modify some task settings.
      There are however two links, to which the teacher, not owning the problem, has no rights.
      These are package link (to download package) and advanced problem settings link.
      Error 403 occurs, when entering those links.
      It would be worth removing those links from teacher view

        Issue Links

          Activity

          Stanisław Strzelecki made changes -
          Field Original Value New Value
          Link This issue is related to SIO-2291 [ SIO-2291 ]
          Stanisław Strzelecki made changes -
          Link This issue relates to SIO-2291 [ SIO-2291 ]
          Stanisław Strzelecki made changes -
          Link This issue is related to SIO-2291 [ SIO-2291 ]
          Przemysław Podleśny made changes -
          Assignee Przemysław Podleśny [ hayven ]
          Stanisław Strzelecki made changes -
          Assignee Przemysław Podleśny [ hayven ] Stanisław Strzelecki [ stasio6 ]
          Stanisław Strzelecki made changes -
          Status New [ 10000 ] Open [ 1 ]
          Stanisław Strzelecki made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Stanisław Strzelecki made changes -
          TAG Developer Stanisław Strzelecki [ stasio6 ]
          Hide
          Gerrit Gerrit added a comment -
          Change oioioi~master~I04b6aac4d7c5040e4019310bc40994763df1a048, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/3501

          SIO-2353 Some links in teacher problems view are not allowed to use

          Added a threading local variable do ProblemInstanceAdmin
          to know the request when creating admin links.
          If user does not have admin rights to the problem,
          package and advanced settings links to not show.

          Change-Id: I04b6aac4d7c5040e4019310bc40994763df1a048
          Show
          Gerrit Gerrit added a comment - Change oioioi~master~I04b6aac4d7c5040e4019310bc40994763df1a048, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/3501 SIO-2353 Some links in teacher problems view are not allowed to use Added a threading local variable do ProblemInstanceAdmin to know the request when creating admin links. If user does not have admin rights to the problem, package and advanced settings links to not show. Change-Id: I04b6aac4d7c5040e4019310bc40994763df1a048
          Stanisław Strzelecki made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Assignee Stanisław Strzelecki [ stasio6 ] Szymon Acedański [ accek ]
          Resolution Fixed [ 1 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          New New Open Open
          15d 3h 54m 1 Stanisław Strzelecki 2020-05-13 18:21
          Open Open In Progress In Progress
          13s 1 Stanisław Strzelecki 2020-05-13 18:21
          In Progress In Progress Resolved Resolved
          27d 5h 45m 1 Stanisław Strzelecki 2020-06-10 0:06

            People

            • Assignee:
              Szymon Acedański
              Reporter:
              Stanisław Strzelecki
              TAG Developer:
              Stanisław Strzelecki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: