Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
allow listed users to view the page.  Others view failure page

src/w/h/whiff-1.1/whiff/middleware/repoze/protect.py   whiff(Download)
import who
import allow
from whiff import resolver
from whiff.middleware import redirect

src/p/r/Products.AccessibleReferenceBrowserWidget-1.0a/Products/AccessibleReferenceBrowserWidget/zope2.py   Products.AccessibleReferenceBrowserWidget(Download)
import allow, translations, implements_arbw
def initialize(*a, **kw): pass

src/d/j/django-ember-rest-HEAD/test/server/apis.py   django-ember-rest(Download)
from models import Tag, User, Post, Comment
from lib import Api, Apis
import allow