pawelrojek / nextcloud-drawio

Draw.io intergration app
https://apps.nextcloud.com/apps/drawio
GNU Affero General Public License v3.0
227 stars 60 forks source link

Draw.io blocking settings page #107

Open noci2012 opened 4 years ago

noci2012 commented 4 years ago

The checkAdminUser call redirects the settings page to de default /apps/files page. Which is not desirable. (Nextcloud 17+ behaviour combined with groupadmin ).

Solution: Either disable the offending app or See here for the solution: https://github.com/nextcloud/server/issues/18865

in this case: apps/drawio/settings.php

+if (!OC_User::isAdminUser(OC_User::getUser())) {
+        return;
+}
-User::checkAdminUser();

t/y.