Hi all!

Do anyone know how to configure user+password security for project and
allow rss being accessible to anyone?
My current config is something like this:

<internalSecurity>
  <users>
    <passwordUser name="ja" display="Me" password="xx"/>
    <simpleUser name="*"/>
  </users>
  <permissions>
    <rolePermission name="Admins" defaultRight="Allow">
      <users>
        <userName name="ja"/>
      </users>
    </rolePermission>
    <rolePermission name="general" viewProject="Allow"
defaultRight="Deny">
      <users>
        <userName name="*" />
      </users>
    </rolePermission>
  </permissions>
</internalSecurity>

<project name="TEST" >
  <!-- ... -->
  <security type="defaultProjectSecurity" defaultRight="Inherit"
guest="x">
    <permissions>
      <rolePermission name="Admins" ref="Admins"/>
      <rolePermission name="general" ref="general"/>
    </permissions>
  </security>
</project>

It seems that any unspecified user should have viewProject right, and
every anonymous TEST's project request should be set to user
"x" (guest) thus being allowed to viewProject (which is required to
get rss feed).

I found some sort of solution in code, because when user is
unspecified, method which checks project's permission sees user as
null, not as guest. I think this may be a bug, but I would like to
check if someone does know how to configure it.

So, do we have bug in ccnet, or in my configuration? :)

Sincerely,
Bartosz SzczÄ…chor

Reply via email to