stable
Clone or download
Read-only
story #8618: An user can be authenticated from a token for all SVN operations
when mod_perl is used. If there is no valid token to authenticate the user, we try to authenticate him with his classic password in the database. In order to test, you must (re)deploy Tuleap Auth perl module. You can do that with by creating a symlink from /usr/share/perl5/vendor_perl/Apache/Tuleap.pm to /usr/share/tuleap/src/utils/svn/Tuleap.pm Also, as we need to read and update the new table svn_token, you must grant access to dbauthuser: GRANT SELECT,UPDATE ON svn_token to dbauthuser; FLUSH PRIVILEGES; Change-Id: I4924e0bb8eddcf59bf5445194bccf5e3c149f2fe
Modified Files
Name | ||||
---|---|---|---|---|
M | src/db/mysql/database_structure.sql | +11 | −0 | Go to diff View file |
A | src/db/mysql/updates/2015/201512171700_add_svn_token_table.php | +46 | −0 | Go to diff View file |
M | src/utils/svn/Tuleap.pm | +221 | −170 | Go to diff View file |
M | tools/setup.sh | +1 | −0 | Go to diff View file |