Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-2222

Group membership not always properly recognized

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Duplicate
    • Icon: Critical Critical
    • Recycle Bin
    • 1.3.0-M2
    • Security
    • None

      To reproduce:
      - While logged out go to a dataset you have access to (e.g. membership of group X).
      - The Gateway will stop you from getting the file and required authentication.
      - after authentication takes place (I've tried with account from same gateway) The Gateways will tell you you need to be member of the dataset's group (e.g. group X), which you should be already.

      Another test case:
      - Login, select dataset and go to "Download Data" page (where the files are listed) from a dataset you have access to.
      - copy current URL and logout.
      - Try to access the URL again and, after signing in, the gateway will tell you, you need to subscribe to the corresponding group.
      - Copying the URL once more will allow you to access the files.

      The second example shows that there's no problem with the security itself, but probably with the redirection after being authenticated.

      The gateway where I'm trying this (albedo2) has other users with the same name in the DB. So this might also be caused by it, as is at least other bug that might be related GTWY-2201. Though rather unlikely in my opinion.

              Unassigned Unassigned
              estanislao.gonzalez Estanislao Gonzalez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: