[icinga-checkins] icinga.org: icinga-web/master: Added new Cronk permission feature

git at icinga.org git at icinga.org
Fri Oct 19 12:19:57 CEST 2012


Module: icinga-web
Branch: master
Commit: 1182543be33df3290d7204cce3d5c2d83dcd0b6d
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=1182543be33df3290d7204cce3d5c2d83dcd0b6d

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Jul 19 16:52:12 2012 +0200

Added new Cronk permission feature

Allow changing permissions of cronks which defined in xml by frontend
window dialog (fixes #972)

---

 .../lib/database/IcingaDoctrineDatabase.class.php  |    1 +
 app/modules/AppKit/lib/database/models/Cronk.php   |    6 +-
 .../AppKit/lib/database/models/CronkCategory.php   |    6 +-
 .../lib/database/models/CronkCategoryCronk.php     |    6 +-
 .../lib/database/models/CronkPrincipalCronk.php    |    6 +-
 app/modules/AppKit/lib/database/models/NsmLog.php  |    6 +-
 .../AppKit/lib/database/models/NsmPrincipal.php    |    6 +-
 .../lib/database/models/NsmPrincipalTarget.php     |    6 +-
 .../AppKit/lib/database/models/NsmSession.php      |    6 +-
 .../AppKit/lib/database/models/NsmTarget.php       |    6 +-
 .../AppKit/lib/database/models/NsmTargetValue.php  |    6 +-
 .../lib/database/models/NsmUserPreference.php      |    6 +-
 .../lib/database/models/generated/BaseCronk.php    |   38 +++-
 .../models/generated/BaseCronkCategory.php         |    6 +-
 .../models/generated/BaseCronkCategoryCronk.php    |    6 +-
 .../models/generated/BaseCronkPrincipalCronk.php   |   10 +-
 .../lib/database/models/generated/BaseNsmLog.php   |    6 +-
 .../database/models/generated/BaseNsmPrincipal.php |   29 ++-
 .../models/generated/BaseNsmPrincipalTarget.php    |   19 +-
 .../lib/database/models/generated/BaseNsmRole.php  |   14 +-
 .../database/models/generated/BaseNsmSession.php   |    6 +-
 .../database/models/generated/BaseNsmTarget.php    |  141 +++++-----
 .../models/generated/BaseNsmTargetValue.php        |    6 +-
 .../lib/database/models/generated/BaseNsmUser.php  |    6 +-
 .../models/generated/BaseNsmUserPreference.php     |    6 +-
 .../database/models/generated/BaseNsmUserRole.php  |    6 +-
 .../actions/Provider/CronkSecurityAction.class.php |   95 ++++++
 app/modules/Cronks/cache/Util/Open.xml             |   11 -
 app/modules/Cronks/config/javascript.xml           |    1 +
 app/modules/Cronks/config/routing.xml              |    9 +-
 .../Cronks/lib/js/Cronk/util/CronkBuilder.js       |    7 +-
 .../js/Icinga/Cronks/System/CronkListingPanel.js   |   26 ++-
 .../lib/js/Icinga/Cronks/util/CategoryEditor.js    |    4 +-
 .../js/Icinga/Cronks/util/CronkPermissionWindow.js |  272 +++++++++++++++++
 .../models/Provider/CronksDataModel.class.php      |   64 +++--
 .../models/Provider/CronksSecurityModel.class.php  |  313 ++++++++++++++++++++
 .../templates/System/CronkListingSuccess.php       |    2 +-
 .../Cronks/validate/Provider/CronkSecurity.xml     |   32 ++
 .../Provider/CronkSecuritySuccessView.class.php    |   40 +++
 39 files changed, 1058 insertions(+), 184 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-web.git;a=commitdiff;h=1182543be33df3290d7204cce3d5c2d83dcd0b6d




More information about the icinga-checkins mailing list