stable

Clone or download

Read-only

story #18435: access webdav with a personal access key

The process of checking the access key when an username is also given was already present in the Git plugin, so the code has been extracted to be reused in both plugins. Change-Id: I1be8538abc799013362c4f8446737f7c1c5bf92a

Modified Files

Name
M plugins/git/include/Git/HTTP/HTTPAccessControl.php +5 −3 Go to diff View file
M plugins/git/include/gitPlugin.php +2 −2 Go to diff View file
M plugins/git/tests/unit/HTTP/HTTPAccessControlTest.php +10 −8 Go to diff View file
A plugins/webdav/include/Authentication/AccessKey/WebDAVAccessKeyScope.php +110 −0 Go to diff View file
M plugins/webdav/include/Authentication/HeadersSender.php +3 −0 Go to diff View file
M plugins/webdav/include/WebDAVAuthentication.class.php +42 −43 Go to diff View file
M plugins/webdav/include/webdavPlugin.php +43 −1 Go to diff View file
A plugins/webdav/site-content/fr_FR/LC_MESSAGES/tuleap-webdav.po +15 −0 Go to diff View file
A plugins/webdav/tests/unit/Authentication/AccessKey/WebDAVAccessKeyScopeTest.php +43 −0 Go to diff View file
M plugins/webdav/tests/unit/WebDAVAuthenticationTest.php +85 −39 Go to diff View file
R plugins/git/include/Git/HTTP/HTTPUserAccessKeyAuthenticator.php Go to diff View file
R plugins/git/include/Git/HTTP/HTTPUserAccessKeyMisusageException.php Go to diff View file
R plugins/git/tests/unit/HTTP/HTTPUserAccessKeyAuthenticatorTest.php Go to diff View file