Searched defs:allowed (Results 1 - 4 of 4) sorted by relevance

/pkg/src/tests/api/
H A Dt_config.py281 # Verify allowed value functionality permits expected values.
282 p = propcls("def", allowed=["", "<pathname>", "<exec:pathname>",
288 # Verify allowed value functionality denies unexpected values.
289 p = propcls("def", allowed=["<abspathname>"],
502 # Verify allowed value functionality permits expected values.
503 p = propcls("list", allowed=["", "<pathname>",
508 # Verify allowed value functionality denies unexpected values.
509 p = propcls("list", allowed=["<pathname>"],
838 ({ "allowed": ["always", "never"], "default": "never",
840 { "allowed"
1045 allowed=["<pathname>", "builtin"], variable in class:_TestConfigBase
1048 allowed=["", "<pathname>", "builtin"]), variable in class:_TestConfigBase
[all...]
/pkg/src/modules/client/
H A Dimageconfig.py170 cfg.PropDefined(BE_POLICY, allowed=["default",
173 cfg.PropDefined(CONTENT_UPDATE_POLICY, allowed=["default",
183 allowed=list(sigpolicy.Policy.policies()) + [DEF_TOKEN], variable in class:ImageConfig
208 prop_type=cfg.PropDefined, allowed=["site", "vendor",
213 prop_type=cfg.PropDefined, allowed=["site", "vendor",
243 allowed=list(sigpolicy.Policy.policies()) + [DEF_TOKEN], variable in class:ImageConfig
1432 """Return whether a publisher is allowed to move in the search
/pkg/src/modules/
H A Dconfig.py220 # Whitespace (except single space), '/', and '\' are never allowed.
283 """Raises an InvalidPropertyValueError if 'value' is not allowed
287 # Only string values are allowed.
339 def __init__(self, name_pattern, allowed=None, default=None,
355 self.__allowed = allowed
361 return self.__class__(self.__name, allowed=self.__allowed,
372 pargs["allowed"] = self.__allowed
482 # Only string values are allowed.
492 def __init__(self, name, allowed=misc.EmptyI, default="",
494 self.__allowed = allowed
539 def allowed(self): member in class:PropDefined
[all...]
/pkg/src/modules/server/
H A Ddepot.py579 _("Directory listing not allowed."))
613 _("Directory listing not allowed."))
654 "{0} is not allowed".format(method))
728 "{0} is not allowed".format(method))
1755 _("Directory listing not allowed."))
1868 _("Directory listing not allowed."))
2172 cfg.PropDefined("cfg_file", allowed=["", "<pathname>"]),
2174 cfg.PropList("debug", allowed=["", "headers",
2178 cfg.PropDefined("image_root", allowed=["",
2180 cfg.PropDefined("inst_root", allowed
2197 allowed=["", "<pathname>", "none"]), variable in class:DepotConfig
2201 allowed=["", "<pathname>", "none"]), variable in class:DepotConfig
2204 allowed=["", "<pathname>"]), variable in class:DepotConfig
[all...]

Completed in 26 milliseconds