Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes EndpointPredicate to a ContextFound subscriber #36

Closed
wants to merge 1 commit into from
Closed

Changes EndpointPredicate to a ContextFound subscriber #36

wants to merge 1 commit into from

Conversation

inklesspen
Copy link
Contributor

Unfortunately this means __acls__ has to be a callable if it wants to access request.rpc_method or similar. And __acls__ can't be a callable in Pyramid 1.4.

So this is not the way forward, but I wanted to save this work anyway.

Unfortunately this means __acls__ has to be a callable
if it wants to access request.rpc_method or similar.
@mmerickel
Copy link
Member

I don't think ContextFound is the right place for this if we want to integrate with traversal to provide different (and possibly user-specified) contexts for each request method.

Added #37 with some thoughts.

@mmerickel mmerickel closed this May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants