Make policy component a class with methods. Also add validator code
policies handled by PolicyGuard class
- construct via
guard := NewPolicyGuard()
- initialize via
guard.initFromFile(configPath)
- checkPermission via
guard.GetPermissions()
Edited by Tobias Benedikt Bernhard