Hi there

i'm testing the security feature of my CruiseControl install (version:
1.5.7256.1) and i'm following the security scenario 1 in the docs
section ( Scenario #1: Small In-house Development Team)

So far i have add the following things into my CCNet.config

<internalSecurity>
    <audit>
       <xmlFileAudit/>
    </audit>
    <auditReader type="xmlFileAuditReader"/>
    <users>
        <!-- Authenticated users -->
        <!-- Password are not windows login password but the one
created specially for CC -->
        <passwordUser name="Sam" display="Developer" password="Sam1"/>
        <passwordUser name="Bob" display="Release Engineer"
password="Bob1"/>
    </users>
    <permissions>
        <!-- Roles -->
        <rolePermission name="Developer" forceBuild="Allow"
defaultRight="Deny">
           <users>
               <userName name="Sam"/>
           </users>
        </rolePermission>
        <rolePermission name="Releaser Engineer" forceBuild="Allow"
defaultRight="Deny">
           <users>
                <userName name="Bob"/>
           </users>
         </rolePermission>
    </permissions>
</internalSecurity>

And in my project section i have added the following

<security type="defaultProjectSecurity" defaultRight="Deny">
     <permissions>
           <!-- Grant permissions to this project -->
           <rolePermission name="Releaser Engineer" ref="Releaser
Engineer">
                 <users>
               <userName name="Bob"/>
                 </users>
           </rolePermission>
   </permissions>
</security>

What this has done for me is

On my web dashboard, i can't see the project in which i have added the
above section
Also when i log in with my username and password which i added in the
internalsecurity section, i still can't view the project.
tried the same with my windows username and password and i still can't
see the project

I'm a newbie here testing, trying and learning CC, can u please advice
what's going wrong here
All i want is to 3 sets of roles one for Developers, Release
Engineers, Managers
Developers view should have all the projects to view and permissions
to only few to build, stop/start projects.
Release Engineers view should have all the projects and have
permissions to build, stop/start projects
Managers view should not have all the projects but only a few and no
permissions to build, stop/start any projects.

Regards

Reply via email to