Welcome to Squishdot Websites Squishdot How-To
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Why Zope popup login when I click "Add Postings" in Squishdot
Squishdot Posted by Wang Shuhao on Wednesday June 18, 06:36PM, 2008
from the dept.
I'm new with Squishdot. After I setup a SquishSite, I want to add a posting as Anonymous role, but SquishSite will popup the login dialog. If I cancel the dialog I got following error message : Error Type: Unauthorized Error Value: You are not allowed to access 'suggest_author' in this context I've investgated the source code (SquishSite.py) and found that : security.setPermissionDefault(AddPostings, ('Anonymous','Manager',)) security.declareProtected(AddPostings, 'suggest_author') def suggest_author(self): ... I think there should have no problem for Anonymous users to access the suggest_author method without explicitly grant AddPosints permission to Anonymous role in the "security" tab. So I wondered what's the problem?

Akismet's good, but still... | Spam Filtering for Squishdot with Akismet  >

 

Related Links
  • Articles on Squishdot
  • Also by Wang Shuhao
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Add Postings Permission
    by Chris Withers on Friday June 20, 11:34AM, 2008
    Sounds like you want to give the "Anonymous" role the "Add Postings" permission in the Security tab of the management interface of your Squishdot Site.
    [ Reply to this ]
    • Re: Add Postings Permission
      by Wang Shuhao on Sunday June 22, 04:30PM, 2008
      No. I think since SquishSite has called setDefaultPermission(AddPostins, ("Anonymous", ...)) already. So I needn't set that permission in management interface manually. Am I right?

      [ Reply to this ]
      • Re: Add Postings Permission
        by Chris Withers on Friday July 04, 07:32PM, 2008
        No, I don't think you are right, since you're having problems with a login box appearing when you try to add a comment ;-)

        How about trying what I suggested and see what happens?
        [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.