The super admin can access server info by hitting the url as follows:
How can one modify user access to that? For example, id like to setup a service which can monitor my server, but i do not want to do so with superadmin credentials. What i’d prefer to do is create a new group called “monitor” which has ONLY permissions to access the server info api. Then I figure, as a noob, that i should be able to modify a routes.php file somewhere in order to allow monitor group access alongside superadmin.
i have checked:
/var/www/nextcloud/ocs/routes.php, v1.php, v2.php
but i have not found where to set a new group for action info. in the survey_client routes.php i see the following:
but that is not exactly what i want. that is a post and for a report. Im looking for a get on info. Any help?