Action Hook ECM API

Assigned
ABR(2md), JRG(1md)

Prev assigned

Tasks adressed
["Tasks/3/2"]

Time estimated
3md

Time used
0.5md

Priority
5

Status
In progress

Iteration
21

Notes

Problem

Fedora has a object property called state. We want to use this state. To do so, we have made the following rules

  1. No objects in the Active state can be altered
  2. No object can be put in the Active state without being validated

The first rule should be enforced as a repository wide XACML policy. The second should be done as a hook into the Api function ModifyObject

Progress

The api hook have been completed. It is a jar file, that must be installed on the Fedora classpath. It is set up as a Management decorator in fedora.fcfg. It has been sporadically tested, and works.

The xacml policy have not yet been attempted.

Result

Checklist For Working On An Action

The Life Cycle of an Action:

Please make sure that you address the below issues, when working on an action: