Story #2765

Fix bugs in Workbench reader token support

Added by Brett Smith over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
Brett Smith
Category:
-
Start date:
05/08/2014
Due date:
% Done:

100%

Estimated time:
(Total: 2.00 h)
Story points:
1.0

Description

See #1904 for more background. Workbench in master currently supports reader tokens. Right now, when you try to view a Collection with a reader token in a real browser, you get prompted to login. This story encompasses whatever bug fixes are necessary to make it so that you can take a reader token URL and paste it into a stateless browser and see the Collection.


Subtasks

Task #2773: Find the part of Workbench that redirects reader token users to loginClosedBrett Smith

Associated revisions

Revision 601284ad (diff)
Added by Brett Smith over 7 years ago

2765: Tear out general Workbench reader_tokens support.

Refs #2765. This approach is not tenable in its current form, and the
callbacks are making further development confusing, so I'm getting rid
of them.

Revision 0bec8ec8 (diff)
Added by Brett Smith over 7 years ago

2765: Tear out general Workbench reader_tokens support.

Refs #2765. This approach is not tenable in its current form, and the
callbacks are making further development confusing, so I'm getting rid
of them.

Conflicts:
apps/workbench/test/functional/collections_controller_test.rb

History

#1 Updated by Brett Smith over 7 years ago

  • Description updated (diff)

#2 Updated by Brett Smith over 7 years ago

  • Description updated (diff)

#3 Updated by Brett Smith over 7 years ago

  • Assigned To set to Brett Smith

#4 Updated by Brett Smith over 7 years ago

  • Status changed from New to Closed

I thought this would be a relatively straightforward problem, but Peter has dug into it and demonstrated that it's actually much larger, because Workbench makes so many API server queries to render most pages. For the immediate case, we just need to get Collection downloads working with only scoped tokens, and we'll make that happen by creating a separate view to accommodate it (#2764). Any small bugs that interfere with that new view will become tasks on that story.

Also available in: Atom PDF