TheRosettaFoundation / SOLAS-Match

Self-managed translation project interface
www.TheRosettaFoundation.org
GNU Lesser General Public License v3.0
12 stars 8 forks source link

Not able to create projects #1242

Closed alanbarrett closed 8 years ago

alanbarrett commented 8 years ago

I am emailing to you because three organisations has written this weekend saying that they are not able to create projects. One has sent us the message that was shown when they were trying to create the project: Message:The user does not have permission to access the current resource Loc: /repo/SOLAS-Match/Common/lib/APIHelper.class.php Line: 119 Code: 403 Trace: 0 /repo/SOLAS-Match/ui/DataAccessObjects/OrganisationDao.class.php(38): SolasMatch\Common\Lib\APIHelper->call(NULL, 'http://trommons...') 1 /repo/SOLAS-Match/ui/RouteHandlers/ProjectRouteHandler.class.php(995): SolasMatch\UI\DAO\OrganisationDao->getSubscription('115') 2 [internal function]: SolasMatch\UI\RouteHandlers\ProjectRouteHandler->projectCreate('115') 3 /repo/SOLAS-Match/ui/vendor/slim/slim/Slim/Route.php(441): call_user_func_array(Array, Array) 4 /repo/SOLAS-Match/ui/vendor/slim/slim/Slim/Slim.php(1314): Slim\Route->dispatch() 5 /repo/SOLAS-Match/ui/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call() 6 /repo/SOLAS-Match/ui/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call() 7 /repo/SOLAS-Match/ui/vendor/slim/slim/Slim/Middleware/SessionCookie.php(110): Slim\Middleware\MethodOverride->call() 8 /repo/SOLAS-Match/ui/vendor/slim/slim/Slim/Slim.php(1261): Slim\Middleware\SessionCookie->call() 9 /repo/SOLAS-Match/index.php(195): Slim\Slim->run() 10 {main}

alanbarrett commented 8 years ago

Commit 15afe6ed34a18fa16457398d49e8e0cbc66bc74e fixes. Should not have been just Site Admin, should also have been Org Member, but Logged in User will do.

Alan.