anchor.diff:  init() ->
       Config = ns_config:get(),
       #state{buckets = ns_bucket:get_bucket_names(ns_bucket:get_buckets(Config)),
  -           users = trim_users(menelaus_users:get_users(Config)),
              admin_user = ns_config:search_node_prop(Config, memcached, admin_user),
              roles = menelaus_roles:get_definitions(Config)}.
   
   filter_event({buckets, _V}) ->
       true;
  -filter_event({user_roles, _V}) ->
  +filter_event({roles_definitions, _V}) ->
       true;
  -filter_event({roles_definitions, _V}) ->
  +filter_event({user_version, _V}) ->
       true;
   filter_event(_) ->
       false.
  
positive.code: -include_lib("eunit/include/eunit.hrl").
  
  -record(state, {buckets,
                  users,
                  roles,
                  admin_user}).
  
  
negative.code:                          'MetaWrite','Read','SimpleStats','TapConsumer',
                           'TapProducer','Write','XattrRead','XattrWrite']}]}},
              {privileges,[]},
              {type, builtin}]}}],
      ?assertEqual(Json, generate_json_45(Buckets, RoleDefinitions)).
  