Kanboard issueshttps://chaos.expert/himmel/kanboard/-/issues2020-12-26T20:52:57Zhttps://chaos.expert/himmel/kanboard/-/issues/2Borked after update to v1.2.162020-12-26T20:52:57ZMichiKBorked after update to v1.2.16```
2020/12/26 21:46:42 [error] 18404#18404: *40377 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined offset: 0 in /var/www/kanboard/app/Core/User/GroupSync.php on line 29PHP message: PHP Fatal error: Uncaught TypeError: Argu...```
2020/12/26 21:46:42 [error] 18404#18404: *40377 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined offset: 0 in /var/www/kanboard/app/Core/User/GroupSync.php on line 29PHP message: PHP Fatal error: Uncaught TypeError: Argument 3 passed to Kanboard\Core\User\GroupSync::addGroups() must be of the type array, null given, called in /var/www/kanboard/app/Core/User/GroupSync.php on line 29 and defined in /var/www/kanboard/app/Core/User/GroupSync.php:41
Stack trace:
#0 /var/www/kanboard/app/Core/User/GroupSync.php(29): Kanboard\Core\User\GroupSync->addGroups(46, Array, NULL)
#1 /var/www/kanboard/app/Core/User/UserProfile.php(55): Kanboard\Core\User\GroupSync->synchronize(46, Array)
#2 /var/www/kanboard/app/Core/Security/AuthenticationManager.php(150): Kanboard\Core\User\UserProfile->initialize(Object(Kanboard\Plugin\OAuth2\User\GenericOAuth2UserProvider))
#3 /var/www/kanboard/app/Controller/OAuthController.php(108): Kanboard\Core\Security\AuthenticationManager->oauthAuthentication('OAuth2')
#4 /var/www/kanboard/app/Controller/OAuthController.php(56): Kanboard\Controller\OAuthController->authenticate('OAuth2')
#5 /var/www/kanboard/app/Controller/OAuthController.php(27)" while reading response header from upstream, client: 2001:9e8:6016:d500:d97:b68a:8f0d:ca85, server: kanboard.c3heaven.de, request: "GET /?controller=OAuthController&action=handler&plugin=OAuth2&state=45b2984b643c8c08e2246995673473f6054f32ef98a46e5983d41f41c597&session_state=ebb9845a-3763-4ce4-a151-3751dbdaa2ec&code=c6fd4dfb-78f3-4097-92c5-08da5b9157c7.ebb9845a-3763-4ce4-a151-3751dbdaa2ec.d5b21cd8-c1f8-4804-9875-347fc54cb05b HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "kanboard.c3heaven.de", referrer: "https://kanboard.c3heaven.de/?controller=OAuthController&action=handler&plugin=OAuth2&state=45b2984b643c8c08e2246995673473f6054f32ef98a46e5983d41f41c597&session_state=ebb9845a-3763-4ce4-a151-3751dbdaa2ec&code=b19b6975-0dc3-46e2-8717-45df3f58c8a5.ebb9845a-3763-4ce4-a151-3751dbdaa2ec.d5b21cd8-c1f8-4804-9875-347fc54cb0
2020/12/26 21:47:24 [error] 18404#18404: *40377 FastCGI sent in stderr: "PHP message: Kanboard: user Unknown authentication failure" while reading response header from upstream, client: 2001:9e8:6016:d500:d97:b68a:8f0d:ca85, server: kanboard.c3heaven.de, request: "GET /?controller=OAuthController&action=handler&plugin=OAuth2&state=45b2984b643c8c08e2246995673473f6054f32ef98a46e5983d41f41c597&session_state=ebb9845a-3763-4ce4-a151-3751dbdaa2ec&code=b19b6975-0dc3-46e2-8717-45df3f58c8a5.ebb9845a-3763-4ce4-a151-3751dbdaa2ec.d5b21cd8-c1f8-4804-9875-347fc54cb05b HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "kanboard.c3heaven.de", referrer: "https://kanboard.c3heaven.de/?controller=AuthController&action=login"
```https://chaos.expert/himmel/kanboard/-/issues/1Automatically give users admin rights if they are in the admin group2019-09-23T17:15:02ZMichiKAutomatically give users admin rights if they are in the admin groupThis should be possible as other profile stuff is filled in as well, but I did not find an easy, straightforward way to do this...This should be possible as other profile stuff is filled in as well, but I did not find an easy, straightforward way to do this...