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

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

src/s/t/statmon-HEAD/statmon/statmonControllers.py   statmon(Download)
		if model.hasStatmonACL():
			if not self.getSessionValue('logged',default=False,init=True):
				self.setSessionValue('accessLevel',PRELOGIN)
		else:
			# else set accessLevel to MASTER_ACCESS (omitting ACL_EDIT_ACCESS)
			# force regardless of exiting value
			self.setSessionValue('accessLevel',MASTER_ACCESS)
 
				if statmonUser:
					self.setSessionValue('logged',True)
					self.setSessionValue('user',statmonUser.user)
					accessLevel = statmonUser.access|LOGGED
					self.setSessionValue('accessLevel',accessLevel)