FWIW I just cloned and ran cluegun for the first time using "paster serve development.ini" in a new virtualenv and it ran fine for me. The /manage view redirected to /login, then admin/admin user/pass took me back to /manage where I was able to delete pastes.
It does say "Failed login" on the login form if I try to use the wrong credentials. Why does Pyramid conclude that the default is deny?!? > In your example the principal is simply Everyone, which doesn't have the 'manage' permission, thus the denial. Michael On Mon, Apr 18, 2011 at 3:34 AM, Sascha <sascha.b...@gmx.de> wrote: > Here's the debug information: > > debug_authorization of url http://localhost:6544/manage (view name > u'manage' against context <sdtrpt.models.Foo object None at > 0x1c5adb0>): ACLDenied permission 'manage' via ACE '<default deny>' in > ACL [('Allow', 'system.Everyone', 'view'), ('Allow', 'admin', > 'manage')] on context <sdtrpt.models.Foo object None at 0x1c5adb0> for > principals ['system.Everyone'] > > The ACL of the Foo object is defined as: > __acl__ = [ (Allow, Everyone, 'view'), (Allow, Authenticated, > 'manage'), (Allow, 'admin', 'manage') ] > > Why does Pyramid conclude that the default is deny?!? > > On Apr 18, 8:40 am, Sascha <sascha.b...@gmx.de> wrote: > > Hi there! > > > > I have modeled my app's security after the Cluegun example (https:// > > github.com/Pylons/cluegun). When it did not work, I reviewed Cluegun > > and realized that it does not work either. When I try to access the > > manage view, I am getting the login screen. According to the password > > file, it should be possible to log in with admin/admin. That seems to > > work, I am not getting a message that this fails. However, I am again > > presented with the login screen. It seems to me that there is a glitch > > somewhere. Can anybody confirm this, please? > > > > Thanks, > > Sascha > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-discuss@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.