⚠️ This issue respects the following points: ⚠️
Bug description
The regression was introduced with adding a second scope in the scope-mechanism. The related PR is #43942
We have a LockdownManager and it has a logic that double checks whether file access exists in: https://github.com/nextcloud/server/blob/master/lib/private/Lockdown/LockdownManager.php#L61-L64
It's conditions are:
- Either no scope is set
- Or
filesystem is set in the scope
In the login logic, when auth succeed without a password, we set the SCOPE_SKIP_PASSWORD_VALIDATION only.
A quick workaround is to set the filesystem access there as well.
Steps to reproduce
- Login via user_saml
- Go to Files, but see no Files
- Trying to upload files fails
Expected behavior
Files are present and accessible
Installation method
None
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
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
No response
Bug description
The regression was introduced with adding a second scope in the scope-mechanism. The related PR is #43942
We have a LockdownManager and it has a logic that double checks whether file access exists in: https://github.com/nextcloud/server/blob/master/lib/private/Lockdown/LockdownManager.php#L61-L64
It's conditions are:
filesystemis set in the scopeIn the login logic, when auth succeed without a password, we set the
SCOPE_SKIP_PASSWORD_VALIDATIONonly.A quick workaround is to set the filesystem access there as well.
Steps to reproduce
Expected behavior
Files are present and accessible
Installation method
None
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
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
No response