Docs
chromia.com

FUNCTION

login_rules

function login_rules(rules_list: list<rule_expression>): gtv
Source

Converts a list of rule_expression to a complex rule that can be used inside an auth descriptor's rules field

Throws "EMPTY RULES" if the rules_list is empty

Parameters

  • rules_list — the list of rules to convert

See Also

  • core.accounts.rule_expression — for more information on auth descriptor rules.