Ad Widget

Collapse

error permissions report availability trigger template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sistemisti5
    Junior Member
    • Dec 2020
    • 9

    #1

    error permissions report availability trigger template


    I'm having trouble with admin user permissions when i try to view an availability report by trigger i get a permissions error. In the past few weeks he had mistakenly added all objects to the admin group (including templates with rw permissions). Could he have done damage to the group? is it possible to restore permissions? No permission to the referenced object or it doesn't exist! since debugging I have


    ******************** Creatore di profili script ******************** Tempo totale: 0.005106 Tempo SQL totale: 0.007279 SQL totale: 11 (selezionati: 14 | eseguiti: 6) Picco memoria usata: 2M Limite memoria: 128M 1. template.get [hosts.inc.php:1399]
    Parametri:
    Array ( [countOutput] => 1 [templateids] => Array ( [0] => 10376 ) )
    Risultato:
    0
    SQL (0.005247): COMMIT
    report2.php:22 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:179

    SQL (0.000197): SELECT md.moduleid,md.id,md.relative_path,md.config FROM module md WHERE md.status=1 ORDER BY md.relative_path
    report2.php:22 → require_once() → ZBase->run() → ZBase->initModuleManager() → CModule->get() → DBselect() in include/classes/api/services/CModule.php:104

    SQL (0.000133): SELECT NULL FROM users u WHERE u.userid=1 FOR UPDATE
    report2.php:22 → require_once() → ZBase->run() → CViewHelper::loadSidebarMode() → CProfile::get() → CProfile::init() → DBselect() in include/classes/user/CProfile.php:38

    SQL (0.000214): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=1 AND idx='web.sidebar.mode'
    report2.php:22 → require_once() → ZBase->run() → CViewHelper::loadSidebarMode() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:180

    SQL (0.000446): SELECT c.* FROM config c
    report2.php:30 → require_once() → select_config() → DBselect() in include/profiles.inc.php:33

    SQL (0.000268): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=1 AND idx='web.avail_report.mode'
    report2.php:49 → CProfile::get() → DBselect() in include/classes/user/CProfile.php:180

    SQL (7.6E-5): BEGIN
    report2.php:62 → isReadableTemplates() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:125

    SQL (0.000175): SELECT COUNT(DISTINCT h.hostid) AS rowscount FROM hosts h WHERE h.status=3 AND h.hostid=10376
    report2.php:62 → isReadableTemplates() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTemplate->get() → DBselect() in include/classes/api/services/CTemplate.php:266

    SQL (7.5E-5): COMMIT
    report2.php:62 → isReadableTemplates() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:179

    SQL (0.000231): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=1 AND idx='web.login.attempt.failed'
    report2.php:63 → access_deny() → CWidget->show() → CWidget->toString() → get_prepared_messages() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:180

    SQL (0.000217): SELECT type,value_id,value_int,value_str,idx2 FROM profiles WHERE userid=1 AND idx='web.paging.lastpage'
    report2.php:63 → access_deny() → require_once() → CProfile::update() → CProfile::get() → DBselect() in include/classes/user/CProfile.php:180

  • sistemisti5
    Junior Member
    • Dec 2020
    • 9

    #2
    any ideas?

    Comment

    • sistemisti5
      Junior Member
      • Dec 2020
      • 9

      #3
      the problem is generated link on report page for trigger. i have update minor release server and restar service. resolve problem

      Comment

      Working...