Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2207

ForbiddenException stack trace for platform admin when in non-member CO

    XMLWordPrintable

Details

    Description

      With 4.0.0 RC1 as the platform administrator for a CO of which I am not a member, when I click on "Groups" I see this stack trace:

      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | 2021-09-13 13:31:58 Error: [ForbiddenException] You are not authorized to access that location.
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | Request URL: /registry/application_preferences/uiMainMenuSelectedParentId
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | Stack Trace:
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #0 /srv/comanage-registry/lib/Cake/Controller/Component/AuthComponent.php(316): AuthComponent->_unauthorized(Object(ApplicationPreferencesController))
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #1 /srv/comanage-registry/lib/Cake/Utility/ObjectCollection.php(129): AuthComponent->startup(Object(ApplicationPreferencesController))
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #2 /srv/comanage-registry/lib/Cake/Event/CakeEventManager.php(244): ObjectCollection->trigger('startup')
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #3 /srv/comanage-registry/lib/Cake/Controller/Controller.php(683): CakeEventManager->dispatch(Object(CakeEvent))
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #4 /srv/comanage-registry/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #5 /srv/comanage-registry/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(ApplicationPreferencesController), Object(CakeRequest))
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #6 /srv/comanage-registry/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
      comanage-registry_comanage-registry.1.t99qdxyb4ci4@parsley | #7

      {main}

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            scott.koranda@at.internet2.edu Scott Koranda (uwm.edu/illinois.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: