Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

*Download logs* shown to sub admin, results in unhandled 403

Offen
#1,350 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript

Rechercherichtung

Beginne bei der UI für die Protokollierungseinstellungen und dem im Bericht beschriebenen XHR-Endpunkt /settings/admin/log/download. Reproduziere das Problem mit einem Unteradministrator und verfolge anschließend die Behandlung des Buttons und der Anfrage; fertig ist die Aufgabe, wenn der Button für nicht autorisierte Benutzer ausgeblendet wird oder der HTTP-403-Fehler eine angemessene UI-Behandlung erhält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

1. to develop bug
Steps to reproduce
  1. Set up nextcloud with sub admins
  2. Log in as sub admin
  3. Open the logging settings
  4. See and click Download logs
Expected behaviour

Either I don't see the button or it works

Actual behaviour

The button is clickable and a XHR to /settings/admin/log/download is sent. It results in a HTTP 403 with no UI or console handling.

Server configuration

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: 30

Where did you install Nextcloud from:

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Client configuration

Browser:

Operating system:

Logs
Nextcloud log (data/owncloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
Vorherrschende Sprache
JavaScript
Sterne
71
Forks
30
Ø Merge
10 Std. 12 Min.
Gemergte PRs (30 T.)
98

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nextcloud/logreader

Alle Issues in nextcloud/logreader

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.