Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-419

Ensure the system support sensible login/logout semantics

    XMLWordPrintable

    Details

      Description

      We differ between two types of system modes. One in which only a single user can be logged in at a time, and one in which several users can be logged in simoultaneously.

      The semantics for the two types are as follows:

      Single user:

      /user/<mytoken>/login:

      • If no user is logged in, <mytoken> will be logged in
      • If another user is logged in, nothing will happen

      /user/<mytoken>/logout:

      • If no user is logged in, nothing happens
      • if user mytoken is logged in, he will be used out
      • If another user is logged in, nothing will happen

      user/<mytoken>/logonChange:

      • If no user is logged in, user <mytoken> will be logged in
      • If <mytoken> is logged in, <mytoken> will be logged out
      • If another user is logged in, nothing happens

      If "reset" is used as the <mytoken> for any of the above URLs, any currently logged in user will be logged out

      Multi user:

      /user/<mytoken>/login:

      • If 0 users are logged in, <mytoken> will be logged in
      • If 1 other user is logged in, <mytoken> will be logged in as dual-user mode
      • If 2 other users are logged in, nothing happens

      /user/<mytoken>/logout:

      • If 0 users are logged in, nothing happens
      • if user <mytoken> is logged in, he will be logged out
      • If <mytoken> and one other user is logged in, <mytoken> will be logged out
      • If 2 other users are logged in, nothing happens

      keyactivity/<mytoken>:

      • If 0 users are logged in, user <mytoken> will be logged in
      • If <mytoken> is logged in, <mytoken> will be logged out
      • if <mytoken> and one other user are logged in, <mytoken> will be logged out
      • If 2 other users are logged in, nothing happens

      If "reset" is used as the <mytoken> for any of the above URLs, any and all currently logged in users will be logged out

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kasper Kasper Markus
              Reporter:
              kasper Kasper Markus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified