Task #2494
Fix CNReplication.setReplicationStatus() admin authorization
Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2012-03-15
Due date:
% Done:
100%
Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:
Description
Metacat's CNReplication.setReplicationStatus() implementation is not allowing system metadata to be updated after recent changes to isAuthorized() (adding in isAdminAuthorized()). The behavior should allow CN and target replica MN subject access.
History
#1 Updated by Chris Jones over 12 years ago
I changed the implementation to look for a target replica MN subject match first. If that fails, check for CN admin access, otherwise fail. Will test this before closing.
#2 Updated by Chris Jones over 12 years ago
- Status changed from In Progress to Closed
setReplicationStatus() works with the new changes.