Skip to content

Make policy component a class with methods. Also add validator code

Tobias Benedikt Bernhard requested to merge refactor/policy-component into main

policies handled by PolicyGuard class

  • construct via guard := NewPolicyGuard()
  • initialize via guard.initFromFile(configPath)
  • checkPermission via guard.GetPermissions()
Edited by Tobias Benedikt Bernhard

Merge request reports

Loading