Lines Matching refs:selevel
775 def __add(self, name, roles, selevel, serange, prefix): argument
782 if selevel == "":
783 selevel = "s0"
785 selevel = untranslate(selevel)
818 rc = semanage_user_set_mlslevel(self.sh, u, selevel)
836 def add(self, name, roles, selevel, serange, prefix): argument
840 self.__add(name, roles, selevel, serange, prefix)
846 def __modify(self, name, roles=[], selevel="", serange="", prefix=""): argument
850 if prefix == "" and len(roles) == 0 and serange == "" and selevel == "":
877 if (is_mls_enabled == 1) and (selevel != ""):
878 semanage_user_set_mlslevel(self.sh, u, untranslate(selevel))
902 def modify(self, name, roles=[], selevel="", serange="", prefix=""): argument
905 self.__modify(name, roles, selevel, serange, prefix)