]> source.dussan.org Git - nextcloud-server.git/commit
fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION 46071/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 24 Jun 2024 11:47:12 +0000 (13:47 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 24 Jun 2024 11:51:15 +0000 (13:51 +0200)
commit895ed634af5385e44ed81310e1218c47a86c309b
tree25897496c41883dafa414b233cf57943ce8ad484
parentc76c954f56e085dada9a7e9553408d499993ba79
fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION

The scope design requires scopes to be either not specified, or
specified explicitely. Therefore, when setting the
skip-password-validation scope for user authentication from mechanisms
like SAML, we also have to set the filesystem scope, otherwise they will
lack access to the filesystem.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
lib/private/legacy/OC_User.php