Multiple permissions in view_config decorator?

I am setting up access control for a web application based on the Pyramid framework. I adjust the permissions for my calls using the @view_config decorator. I have two permissions, namely 'read' and 'write' . Now I want certain views to require both permissions. I was not able to figure out how to do this with view_config - am I missing something, or is there any other way to do this?

+7
source share
1 answer

Make readwrite permission. Each presentation receives one and only one permission, but each director can be compared with many permissions.

+3
source

All Articles