Skip to content

effective_principals return secutiy.Everyone w/no policies registered #1196

Closed
mgrbyte opened this Issue Nov 17, 2013 · 0 comments

1 participant

@mgrbyte
mgrbyte commented Nov 17, 2013

With no security policies registered, the docs here:
http://docs.pylonsproject.org/projects/pyramid/en/latest/api/security.html#pyramid.security.effective_principals

from pyramid import security
security.effective_principals(request)
['system.Everyone']

Should the p.s.effective_prinipals API return an empty list or should the doc
be updated? (The docs for p.a.CallbackAuthenticationPolicy.effective_principals seems reflect the status quo more accurately, we could lift the doc from there?)

@mmerickel mmerickel closed this in 82ec99e Mar 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.