anchor.diff:          end,
   
       {JsonFromSkews, Links} = json_from_skews(PageSkews, PageSize, UserJson),
  -
  -    Json = {[{total, Total} | [build_links(Links, PageSize, DomainAtom, Path) | JsonFromSkews]]},
  +    LinksJson = build_links(Links, PageSize, DomainAtom, Path, Permission),
  +    Json = {[{total, Total}, LinksJson | JsonFromSkews]},
       menelaus_util:reply_ok(Req, "application/json", misc:ejson_encode_pretty(Json)).
   
   handle_whoami(Req) ->
  
positive.code:     {[{skipped, skew_skipped(SkewThis)}, {users, [UserJson(El) || El <- Users]}],
       seed_links([{first, First}, {prev, Prev}, {next, CorrectedNext}, {last, Last}])}.
  
  handle_get_users_page(Req, DomainAtom, Path, PageSize, Start, Roles) ->
      Passwordless = menelaus_users:get_passwordless(),
      {PageSkews, Total} =
          pipes:run(menelaus_users:select_users({'_', DomainAtom}),
  
negative.code:                       handle_get_users_page(Req, DomainAtom, Path,
                                              proplists:get_value(pageSize,
                                                                  Values),
                                              Start, Permission, FilteredRoles)
                end, Req, validate_get_users(Query, DomainAtom, HasStartFrom))
      end.
  
  