Lines Matching refs:selevel
805 def __add(self, name, roles, selevel, serange, prefix): argument
812 if selevel == "":
813 selevel = "s0"
815 selevel = untranslate(selevel)
848 rc = semanage_user_set_mlslevel(self.sh, u, selevel)
866 def add(self, name, roles, selevel, serange, prefix): argument
869 self.__add(name, roles, selevel, serange, prefix)
875 def __modify(self, name, roles=[], selevel="", serange="", prefix=""): argument
879 if prefix == "" and len(roles) == 0 and serange == "" and selevel == "":
906 if (is_mls_enabled == 1) and (selevel != ""):
907 semanage_user_set_mlslevel(self.sh, u, untranslate(selevel))
931 def modify(self, name, roles=[], selevel="", serange="", prefix=""): argument
934 self.__modify(name, roles, selevel, serange, prefix)