Source code for anuket.models.rootfactory

# -*- coding: utf-8 -*-
""" ``Pyramid`` `root factory` model."""
from pyramid.security import Allow, Authenticated, ALL_PERMISSIONS


[docs]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

Project Versions