Gaffer
Gaffer copied to clipboard
Investigate if disabling nested named operations applies in all situations or just adding
Describe the bug The code to check for if nested named operations are allowed exists in AddNamedOperationHandler.java and checks if a new named operation to add contains further named operations.
However, it doesn't seem that any checks are done on execution. Potentially allowing for the following situation:
- Graph configuration is initially setup to allow nesting.
- Named Operation involving nesting is added.
- Graph configuration is then changed so that nesting is not allowed.
- Existing Named Operation involving nesting can still be executed (but new ones not added). Admins wouldn't be expecting this to be allowed.
Additional context The above should be investigated and if confirmed changes potentially made, or the current situation documented.