Project

General

Profile

Task #2494

Fix CNReplication.setReplicationStatus() admin authorization

Added by Chris Jones about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
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 about 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 about 12 years ago

  • Status changed from In Progress to Closed

setReplicationStatus() works with the new changes.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)