nasa/mct — pull request #133 by VWoeltjen (2013-08-05 22:54:06+00:00)
Title: [Save All] Enable/disable Save All according to policy

This change resolves #128

Previous implementation of Save All was ignoring policy, which is responsible for prohibiting user from saving objects they don't own. This implementation consults policy for all components involved in the Save All options; if any policy prohibits the save for one component, Save All is disabled for all components

When unavailable, Save All is grayed out in the "This" menu. For the object popup, it is removed entirely.

Wrote or re-wrote unit tests (Y/N): Y
Ran entire suite of unit tests successfully (Y/N): Y
Verified bug fix with the described replication steps or verified the implementation meets the requirement cited (Y/N): Y
Code coverage requirements satisfied (new code=80%, changed code=at least as high as existing) (Y/N): Y
Code review date and attendees: Code review by pull request
Describe potential impact on other areas of the code: Menus
Describe any test prerequisites for this fix (e.g., restart the database): Scenario plug-in is useful to reproduce (easiest way to make changes to embedded object)
For bugs marked "Regression - Yes", describe the cause of the regression: N/A
Did you modify any pom.xml file? If yes, did you thoroughly document your changes and reasons? N