Searched refs:user_id (Results 1 – 1 of 1) sorted by relevance
112 def is_root(self, user_id=None): argument120 if not user_id:121 user_id = self.get_user_id()122 return user_id == ROOT_USER_ID136 def ensure_user(self, user_id=SHELL_USER_ID): argument142 if self.is_root(user_id):147 return self.get_user_id() == user_id