Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/o/CollabQ-HEAD/common/user.py   CollabQ(Download)
 
  # user's authenticated via cookie have full access
  user.access_level = api.DELETE_ACCESS
 
  cached_token = lookup_user_auth_token(user.nick, token)
 
  # user's authenticated via login have full access
  user.access_level = api.DELETE_ACCESS
 
  if settings.DEBUG and password == "password":
 
    # a little repeat of above since we have a new user instance now
    user.access_level = api.DELETE_ACCESS
 
    return user

src/j/a/JaikuEngine-HEAD/common/user.py   JaikuEngine(Download)
 
  # user's authenticated via cookie have full access
  user.access_level = api.DELETE_ACCESS
 
  cached_token = lookup_user_auth_token(user.nick, token)
 
  # user's authenticated via login have full access
  user.access_level = api.DELETE_ACCESS
 
  if settings.DEBUG and password == "password":
 
    # a little repeat of above since we have a new user instance now
    user.access_level = api.DELETE_ACCESS
 
    return user

src/j/a/jaikuenginepatch-HEAD/common/user.py   jaikuenginepatch(Download)
 
  # user's authenticated via cookie have full access
  user.access_level = api.DELETE_ACCESS
 
  cached_token = lookup_user_auth_token(user.nick, token)
        return None
      # user's authenticated via login have full access
      user.access_level = api.DELETE_ACCESS
 
      if settings.DEBUG and password == "password":
 
        # a little repeat of above since we have a new user instance now
        user.access_level = api.DELETE_ACCESS
 
        return user

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
  def assertDeleteRequired(self, func, *args, **kw):
    self.assertPermissions(api.DELETE_ACCESS, func, *args, **kw)
 
  def assertWriteRequired(self, func, *args, **kw):
    self.assertPermissions(api.WRITE_ACCESS, func, *args, **kw)