anchor.diff:                                          auth=Auth,
                                           credential=Credential,
                                           metadata=Metadata}) of
  -        {ok, UId} -> 
  +        {ok, UId} ->
               {ok, _} = uce_event:add(Domain, #uce_event{id={none, Domain},
                                                          from={UId, Domain},
                                                          location={"", Domain},
  
positive.code:                                           from={Uid, Domain},
                                            location={Location, Domain},
                                            type="internal.user.role.delete",
                                            metadata=[{"role", Role}]}) of
                  {ok, _} ->
                      json_helpers:ok(Domain);
                  {error, Reason} ->
  
negative.code:                                           from={Uid, Domain},
                                            location={Location, Domain},
                                            type="internal.user.role.add",
                                            metadata=[{"role", Role},
                                                      {"user", Name}]}) of
                  {ok, _} ->
                      json_helpers:ok(Domain);
                  {error, Reason} ->
  