This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyramid.authentication import BasicAuthAuthenticationPolicy | |
from pyramid.authorization import ACLAuthorizationPolicy | |
from pyramid.config import Configurator | |
from pyramid.httpexceptions import HTTPForbidden | |
from pyramid.httpexceptions import HTTPUnauthorized | |
from pyramid.security import ALL_PERMISSIONS | |
from pyramid.security import Allow | |
from pyramid.security import Authenticated | |
from pyramid.security import forget | |
from pyramid.view import forbidden_view_config |