Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #3457] Critical Commands right broken #970

Closed
icinga-migration opened this issue Nov 22, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Nov 22, 2012

This issue has been migrated from Redmine: https://dev.icinga.com/issues/3457

Created by mfrosch on 2012-11-22 14:18:35 +00:00

Assignee: (none)
Status: Resolved (closed on 2012-11-29 16:26:07 +00:00)
Target Version: 1.8.1
Last Update: 2012-11-29 16:26:07 +00:00 (in Redmine)

Icinga Version: 1.8.1
Icinga Web Version: 1.8.0
IDO Version: 1.8.1
OS Version: Debian/sid
DB Type: MySQL
DB Version: all
Browser Version: all

With the 1.8.0 Schema the nsm_target IcingaCommandRestrictions gets changed, its target_class becomes NULL.

This breaks several API commands searching for that right (when set on user or group).

Though the SQL update files do not change this value, it's only an error in the install files of MySQL and PgSQL.

Quickfix:

UPDATE nsm_target SET target_class = 'IcingaDataCommandRestrictionPrincipalTarget' WHERE target_name = 'IcingaCommandRestrictions';

Changesets

2012-11-22 14:36:52 +00:00 by (unknown) d7d04f4

Fix database nsm_target IcingaCommandRestrictions

for MySQL and PgSQL - Schema and Update for upcoming 1.8.1
(refs #3457)

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 29, 2012

Updated by mfriedrich on 2012-11-29 16:25:52 +00:00

  • Done % changed from 0 to 100
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Nov 29, 2012

Updated by mfriedrich on 2012-11-29 16:26:07 +00:00

  • Status changed from New to Resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.