anchor.diff:  -export([parse/3]).
   -export([validation_examples/0]).
   
  +% Special admin group as defined in https://docs.egi.eu/users/aai/check-in/vos/#managing-cou-admin-members
  +% Admin groups are created automatically for each COU (Collaborative Organisation Unit) group
  +% and members of such admin group should have administrative privileges in the parent COU group.
  +-define(EGI_COU_ADMINS_GROUP, <<"admins">>).
  +% Similar to the admins group, but with regular privileges
  +-define(EGI_COU_MEMBERS_GROUP, <<"members">>).
  +
   %%%===================================================================
   %%% API functions
   %%%===================================================================
  
positive.code:         ], privileges = member}
      },
      {
          <<"urn:mace:egi.eu:group:fedcloud.egi.eu:child:role=owner#aai.egi.eu">>,
          #{
              originGroupType => unit,
              topGroupType => team,
  
negative.code:     GroupStructure = binary:replace(GroupStructureEncoded, <<"+">>, <<" ">>, [global]),
      GroupTokens = binary:split(GroupStructure, <<":">>, [global, trim_all]),
  
      {GroupNames, RoleStr} = case lists:last(GroupTokens) of
          <<"role=", Role/binary>> ->
              {lists:sublist(GroupTokens, length(GroupTokens) - 1), Role};
          _ ->
  