Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 committed Oct 25, 2023
1 parent 8156a0e commit eed00cf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions modules/migrate/application/clicommands/ToicingadbCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,27 @@ public function navigationAction()
Logger::info('Successfully migrated all local user monitoring navigation items');
}


/**
* Migrate monitoring restrictions in a role to Icinga DB Web restrictions
*
* USAGE
*
* icingacli migrate toicingadb restriction [options]
*
* OPTIONS:
*
* --user=<username> Migrate monitoring navigation items only for
* the given user. (Default *)
*
* --group=<groupname> Migrate monitoring navigation items only for
* the given user. (Default *)
*
* --role=<rolename> Migrate monitoring navigation items only for
* the given user. (Default *)
*
* --override Override the existing Icinga DB navigation items
*/
public function restrictionsAction()
{
$override = $this->params->get('override');
Expand Down

0 comments on commit eed00cf

Please sign in to comment.