-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect from where the login was initiated is not working #398
Comments
Test at https://dspace-dev.ufal.mff.cuni.cz/home: Error1: Error2: Step2: Try to download some restricted bitstream and you will be redirected to the login page. Choose Shibboleth login -> login -> you should be redirected to the downloading page instead of home page. Error1: Step3: Try to access to the some Item which is stored in the Restricted collection (anonymous user cannot access to it) -> you will be redirected to the login page -> choose local -> login -> you should be redirected to the Item which is hidden for the Anonymous user. For this test scenario you must find out/update collection for the Item which not allowed to see by ANONYMOUS user. Error1: Error2: |
Test at http://dev-5.pc:82/home: Error1: |
Test at https://dspace-dev.ufal.mff.cuni.cz/home:
Result: When you are log in as person, whose is not member of ITEM_DEFAULT_READ group and the items have public available license and these items were created after added restricted use for collection, you cannot see these items. RIGHT Result: When you create items in collection and after that you will add restricted use for collection, you will see these items without collection despite that you shouldn't have policies! ERROR Result: When you are member of ITEM_DEFAULT_READ group, but you are not assigned in collection Result: When you follow the descripted steps and you are log in, you can see items with collection. (But you don't see items created before added restricted use) RIGHT? |
Problem description
Downloading works, but when the Item is in the collection where the user cannot access the user is redirected to the login page, but from there it is redirected to the login instead of item page.
E.g. the collection
Wikitonques
Item:Meninet speaking Tigrigna
PR: #404
Test:
**local**
-> login -> you should be redirected to the downloading page instead of home page.**Shibboleth login**
-> login -> you should be redirected to the downloading page instead of home page.**local**
-> login -> you should be redirected to the Item which is hidden for the Anonymous user. For this test scenario you must find out/update collection for the Item which not allowed to see by ANONYMOUS user.Shibboleth login
-> login -> you should be redirected to the Item which is hidden for the Anonymous user. For this test scenario you must find out/update collection for the Item which not allowed to see by ANONYMOUS user.The text was updated successfully, but these errors were encountered: