nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.55k stars 4.08k forks source link

[Bug]: files_sharing: password lost in "Custom Permissions" #46914

Open Mika-6-9 opened 4 months ago

Mika-6-9 commented 4 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

When you create a share, a password is created and visible: image When you click on "customize link", the password disappears: image

We can still validate the sharing and if we have copied the password before, it is this one which is used, it does not become a share without password.

For information : In settings, password is required.

Steps to reproduce

  1. Share a folder or a file
  2. Click on “customize link”

Expected behavior

The password remains the one defined before, we can see it and copy it if we click on the eye

Installation method

Official All-in-One appliance

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

Maybe a link with this PR: https://github.com/nextcloud/server/pull/44617

susnux commented 1 month ago

As long as you do not enter anything new it should stay with the initial password. The password is cleared because it is no longer known, as soon as you click on create the password is sent to the backend and only stored hashed.

From this moment it is also not possible to show it in the frontend.