added ChainedPermissionManager, resolve variables in configuration arrays