Project

General

Profile

Task #7530

Story #7526: Add integration tests for ORCID and auth token support

Test MN.isAuthorized using auth token

Added by Ben Leinfelder about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Buium
Category:
-
Target version:
Start date:
2015-12-08
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

This would be best if Metacat 2.5.1 be installed on a MN, though 2.5.0 will still work with tokens generated by either CCI-2.0.0 or CCI-2.0.1.
Essentially the same sequence as the CN test:
* generate non-DN auth token
* create object on the MN
* update object as that user
* attempt to update as different user
* etc...

History

#1 Updated by Ben Leinfelder about 9 years ago

  • Status changed from New to In Progress
  • Assignee changed from Rob Nahf to Andrei Buium
  • % Done changed from 0 to 30

Looks like there is a test for this in the AuthTokenTestImplementation test suite. Andrei, can you confirm?

#2 Updated by Andrei Buium about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100
  • translation missing: en.field_remaining_hours set to 0.0

Tests passing in sandbox for: MN create w/ token, MN update, MN.isAuthorized w/ token. (Includes a fix by Ben - extra check added for rightsHolder in metacat update - was previously checking only against the submitter.)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)