moldybreadpkg/xacml

    Dark Mode
Search:
Group by:

Types

XACMLRule = ref object of RootObj
  rule_id*: string
  effect*: string
  target_actions*: seq[string]
  excepted_roles_and_logins*: seq[string]
  body*: string
  Source Edit

Procs

proc parse_rules(response: string): seq[XACMLRule] {...}{.
    raises: [IOError, OSError, ValueError, Exception, XmlError, RegexError],
    tags: [ReadIOEffect, RootEffect, WriteIOEffect].}

Parses a XACML policy as a string and returns XACMLRules with information about the policy.

To be clear, this isn't a true interpretation of XACML 1.0, but should work with our use cases.

  Source Edit