![]() |
|
|
|
|
Change By:
|
Stephen Dharma
(21/Mar/14 9:24 AM)
|
|
Environment:
|
- Jenkins, version 1.546 (latest LTS when this issue created). - Jenkins Credentials Plugin (credentials), version 1.10 (latest when this issue created). - Jenkins Subversion Plugin (subversion), version 2.2 (latest when this issue created). - Jenkins Role Strategy Plugin (role-strategy), version 2.1.0 (latest when this issue created). - JBoss Application Server 4.2.3.
- Subversion.
|
|
Description:
|
Currently when using Jenkins with "Subversion Plugin" and "Role Strategy Plugin", the Administrator does not have any control on how to manage "Subversion Credentials" privileges between different teams.
Prerequisites: - Jenkins Credentials Plugin installed. - Jenkins Subversion Plugin installed. - Jenkins Role Strategy Plugin installed. - Access Control - Security Realm: "Jenkins’ own user database". - Access Control - Authorization: "Role-Based Strategy". - Role "admin" (Global Privileges: all). - Role "Team-A-Administrators" (Global Privileges: Overall-Read,
Credentials-Create, Credentials-View
Job-Create)(Project Privileges, Pattern TeamA.*:
Credentials-Create, Credentials-View,
Job-all, Run-all). (see screenshot: https://issues.jenkins-ci.org/secure/attachment/25586/JENKINS-22289_ManageAndAssignRoles.png ) -
Role "Team-B-Administrators" (Global Privileges: Overall-Read, Credentials-Create, Credentials-View, Job-Create)(Project Privileges, Pattern "TeamB.*": Credentials-Create, Credentials-View, Job-all, Run-all). -
Jenkins Root Administrator User Account (e.g. "administrator") with Role "admin" (All Privileges). - Team-A Administrator User Account (e.g. "adminteama") with Role "Team-A-Administrators".
- Team-B Administrator User Account (e.g. "adminteamb") with Role "Team-B-Administrators".
- Subversion repository used by Team-A, (e.g. "svn.mycompany.com/project-a"), with SVN User Account "svnusera". - Subversion repository used by Team-B, (e.g. "svn.mycompany.com/project-b"), with SVN User Account "svnuserb".
Steps to reproduce issue:
1. Login as Team-A Administrator
(
"adminteama"). 2. Create "New Job" with Job Name "TeamA-Project-1", type "Build a free-style software project". 3. In the Project Configuration page, select "Subversion" as the Source Code Management. 4. Input Repository URL "svn.mycompany.com/project-a". 5. Add Credentials, - Kind: Username with password - Scope: Global - Username: svnusera - Password: ******** (assume correct password used) - Description: TeamA-SVN-User 6. Select the newly created Credentials "TeamA-SVN-User". (
TODO)
Actual Behavior: (TODO)
Expected Behavior: (TODO)
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.