Hi,

I think the examples in my blog are a bit out of date, I'll see if I can put
together some more up-to-date examples this week-end.


Craig

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of capt edgar
Sent: Wednesday, 16 February 2011 12:00 a.m.
To: ccnet-user
Subject: [ccnet-user] Re: Setting up Security

Did some investigation on this but could not find the right document.
I tried Craig and Sammie's blog to see if there are any updates to this.
The link provided in the blog leads to just sourceforge.net homepage

can anyone advice me a solution to this or guide me to right documentation
please?
you help is very much appreciated


On Feb 13, 10:46 pm, capt edgar <[email protected]> wrote:
> 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