anchor.diff:  -spec inspect_requested_privileges(tokens:invite_token_type(), entity_logic:data()) ->
       privileges_profile().
   inspect_requested_privileges(InviteTokenType, Data) ->
  -    case {invite_privileges_applicable(InviteTokenType), Data} of
  +    case {are_invite_privileges_applicable(InviteTokenType), Data} of
           {false, _} -> default_privileges;
           {true, #{?PRIVILEGES_KEY := _}} -> custom_privileges;
           {true, _} -> default_privileges
  
positive.code: build(?ACCESS_TOKEN, CustomMetadata, _Data) ->
      basic_metadata(CustomMetadata);
  build(?INVITE_TOKEN(InviteTokenType, _), CustomMetadata, Data) ->
      Privileges = case invite_privileges_applicable(InviteTokenType) of
          false ->
              undefined;
          true ->
  
negative.code: 
  
  %% @private
  -spec are_invite_privileges_applicable(tokens:invite_token_type()) -> boolean().
  are_invite_privileges_applicable(?USER_JOIN_GROUP) -> true;
  are_invite_privileges_applicable(?GROUP_JOIN_GROUP) -> true;
  are_invite_privileges_applicable(?USER_JOIN_SPACE) -> true;
  are_invite_privileges_applicable(?GROUP_JOIN_SPACE) -> true;
  are_invite_privileges_applicable(?USER_JOIN_CLUSTER) -> true;
  are_invite_privileges_applicable(?GROUP_JOIN_CLUSTER) -> true;
  are_invite_privileges_applicable(?USER_JOIN_HARVESTER) -> true;
  are_invite_privileges_applicable(?GROUP_JOIN_HARVESTER) -> true;
  are_invite_privileges_applicable(_) -> false.
  
  
  %% @private
  