Added parseTarget function to PermissionManager
Made parseTarget able to parse server and group in target string