Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: develop
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.394 kb
# -*- coding: utf-8 -*-
""" ``Pyramid`` `root factory` model."""
from import Allow, Authenticated, ALL_PERMISSIONS
class RootFactory(object):
""" Add ACLs to the default route factory."""
__acl__ = [
(Allow, Authenticated, 'view'),
(Allow, 'group:admins', ALL_PERMISSIONS),
def __init__(self, request):
pass # pragma: no cover
Jump to Line
Something went wrong with that request. Please try again.