NIFI-2989:

- Updating the content of the delete policy dialog to make it a little more clear that the permissions for the component will revert back to the inherit policy.

This closes #1183.
This commit is contained in:
Matt Gilman 2016-11-04 10:21:52 -04:00 committed by Pierre Villard
parent aa8ba0bd1c
commit 9d3fe3f03e
1 changed files with 5 additions and 3 deletions

View File

@ -667,8 +667,10 @@ nf.PolicyManagement = (function () {
*/
var promptToDeletePolicy = function () {
nf.Dialog.showYesNoDialog({
headerText: 'Update Policy',
dialogContent: 'Are you sure you want to delete this policy?',
headerText: 'Delete Policy',
dialogContent: 'By deleting this policy, the permissions for this component will revert to the inherited policy.',
yesText: 'Delete',
noText: 'Cancel',
yesHandler: function () {
deletePolicy();
}
@ -695,7 +697,7 @@ nf.PolicyManagement = (function () {
});
} else {
nf.Dialog.showOkDialog({
headerText: 'Update Policy',
headerText: 'Delete Policy',
dialogContent: 'No policy selected'
});
}