[Zope-CMF] Re: cmf fishbowl

ethan mindlace fremen mindlace@digicool.com
Thu, 05 Apr 2001 21:22:54 -0400


Although I am the webmaster, I am not in charge of the cmf site: The CMF 
guys are. I have forwarded this to the zope-cmf list.

Hope that helps.

--On Tuesday, April 03, 2001 01:24:11 -0400 Jeffrey Kukkola 
<jeff@kukkola.com> wrote:

> Clicked on "members" on the top menu on the fishbowl site and then
> clicked on "Cancel" button on Username/password box and got this:
>
> An exception occurred in a DTML method or document.
>
> Error type: Unauthorized
> Error value: User Anonymous User is not allowed to access
> /PTK/portal_membership/getRoster, which is contained in
> /PTK/portal_membership. The user, whose roles are ('Anonymous',), would
> need to have one of the following roles: ('Manager', 'Member',
> 'Manager').
>
> Innermost method: /PTK/roster
>
> Namespace Stack (innermost entry at top)
> ID Type
> (N/A)  mapping with keys: ['document_id', 'document_title']
> PTK  InstanceDict
> REQUEST  ZPublisher.HTTPRequest.HTTPRequest
>
> Source of /PTK/roster with fault:
>
> <dtml-var standard_html_header>
>
> <dtml-unless bs>
>  <dtml-call "REQUEST.set('bs', '25')">
> </dtml-unless>
>
> <div class="Desktop">
>
> <h1> Portal Members </h1>
>
> <dtml-let roster="portal_membership.getRoster()"
>           userMgr="portal_membership.checkPermission( 'Manage_users',
>           Members )"
>>
>
> <table class="SearchResults">
>  <tr>
>   <td width="16"> <br>
>   </td>
>   <th> Member
>   </th>
>   <dtml-if userMgr>
>    <th> Listed?
>    </th>
>    <dtml-comment> We don't have a good interface for querying/setting
>    roles <th> Roles
>    </th>
>    </dtml-comment>
>   </dtml-if>
>  </tr>
>
> <dtml-in roster mapping size=bs orphan=1 start=qs>
>  <dtml-let homeUrl="portal_membership.getHomeUrl(id, verifyPermission=1)">
>  <tr>
>  <td> <br> </td>
>   <td> <dtml-if homeUrl>
>          <a href="&dtml-homeUrl;">&dtml-id;</a>
>        <dtml-else>
>           &dtml-id;
>        </dtml-if>
>   </td>
>  <dtml-if userMgr>
>   <td>
>    <dtml-if listed> Yes <dtml-else> No </dtml-if>
>   </td>
> <dtml-comment> We don't have a good interface for querying/setting roles
>   <td>
>    <dtml-var "_.string.join(
>    portal_membership.getAuthenticatedMember().getRoles() , ',' )">
>   </td>
> </dtml-comment>
>  </dtml-if>
>  </tr>
>  </dtml-let>
> </dtml-in>
>
>  <tr>
>  </tr>
>
>  <tr>
>   <td> <br> </td>
>   <td>
>
>     <form>
>
>     <dtml-in roster size=bs orphan=1 start=qs previous>
>      <dtml-let sq=sequence-query
>                pssn=previous-sequence-start-number
>      >
>       <a href="&dtml-URL;&dtml-sq;qs=&dtml-pssn;" >Previous</a>
>     </dtml-let>
>     <dtml-else>
>       Previous
>     </dtml-in>
>
>     <input type="text" value="&dtml-bs;" name="bs" size="4">
>
>     <dtml-in roster size=bs orphan=1 start=qs next>
>      <dtml-let sq=sequence-query
>                nssn=next-sequence-start-number
>      >
>       <a href="&dtml-URL;&dtml-sq;qs=&dtml-nssn;">Next</a>
>      </dtml-let>
>     <dtml-else>
>       Next
>     </dtml-in>
>
>     <dtml-in roster size=bs orphan=1 start=qs>
>     <dtml-if sequence-start>
>       <em> of &dtml-sequence-length; members.</em>
>     </dtml-if>
>     </dtml-in>
>
>     </form>
>
>   </td>
> <dtml-comment> We don't have a good interface for querying/setting roles
>   <td> <br> </td>
> </dtml-comment>
>
> </table>
>
> </dtml-let>
>
> </div>
>
> <dtml-var standard_html_footer>
>
>
>
> Call stack (security context)
>
> /PTK/roster
>
> REQUEST information
>
> form
>
> cookies
> __ac_name 'jkukkola'
>
> other
> AUTHENTICATION_PATH 'PTK/vurt'
> TraversalRequestNameStack []
> VirtualRootPhysicalPath ('', 'PTK')
> bs '25'
> URL 'http://cmf.zope.org/roster'
> PUBLISHED <DTMLMethod instance at 87b0fd0>
> SERVER_URL 'http://cmf.zope.org'
> __ac_name 'jkukkola'
> AUTHENTICATED_USER Anonymous User
> URL0 http://cmf.zope.org/roster
> URL1 http://cmf.zope.org
> BASE0 http://cmf.zope.org
> BASE1 http://cmf.zope.org
> BASE2 http://cmf.zope.org/roster
>
> environ
> HTTP_ACCEPT_ENCODING gzip, deflate
> STUPID_LOG_FILE /usr/local/base/new/var/new_events.log
> channel.creation_time 986275258
> SERVER_PROTOCOL 1.0
> SERVER_PORT 1480
> PATH_INFO
> /VirtualHostBase/http/cmf.zope.org:80/PTK/VirtualHostRoot/roster
> HTTP_HOST 10.0.11.3:1480
> REQUEST_METHOD GET
> PATH_TRANSLATED
> /VirtualHostBase/http/cmf.zope.org:80/PTK/VirtualHostRoot/roster
> HTTP_COOKIE __ac_name="jkukkola"
> SCRIPT_NAME
> SERVER_SOFTWARE Zope/(unreleased version) ZServer/1.1b1
> HTTP_ACCEPT_LANGUAGE en-us
> REMOTE_ADDR 10.0.11.3
> HTTP_REFERER http://cmf.zope.org/logged_in
> SERVER_NAME app2
> GATEWAY_INTERFACE CGI/1.1
> HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
> HTTP_ACCEPT application/msword, image/gif, image/x-xbitmap, image/jpeg,
> image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, */*
>
>
>



--
-mindlace-
zopatista community liason