anchor.diff:      true.
   
   -type action() :: {done, term()} |
  +                  {ui, boolean(), fun()} |
  +                  {ui, boolean(), fun(), [term()]} |
                     {rbac_permissions() | no_check, fun()} |
  -                  {rbac_permissions() | no_check, fun(), [string()]}.
  -
  --spec get_action(mochiweb_request(), {term(), term()}, string(), [string()]) -> action().
  -get_action(Req, {AppRoot, Plugins}, Path, PathTokens) ->
  +                  {rbac_permissions() | no_check, fun(), [term()]}.
  +
  +-spec get_action(mochiweb_request(), {term(), boolean(), term()}, string(), [string()]) -> action().
  +get_action(Req, {AppRoot, IsSSL, Plugins}, Path, PathTokens) ->
       case Req:get(method) of
           Method when Method =:= 'GET'; Method =:= 'HEAD' ->
               case PathTokens of
  
positive.code:                 ["index.html"] ->
                      {done, redirect_permanently("/ui/index.html", Req)};
                  ["ui", "index.html"] ->
                      {done, menelaus_util:reply_ok(
                               Req,
                               "text/html; charset=utf8",
                               menelaus_pluggable_ui:inject_head_fragments(
                                 AppRoot, Path, Plugins),
                               [{"Cache-Control", "must-revalidate"}])};
                  ["classic-index.html"] ->
                      {done, menelaus_util:serve_static_file(
                               Req, {AppRoot, Path},
                               "text/html; charset=utf8",
                               [{"Cache-Control", "must-revalidate"}])};
                  ["dot", Bucket] ->
                      {{[{bucket, Bucket}, settings], read}, fun handle_dot/2, [Bucket]};
                  ["dotsvg", Bucket] ->
  
negative.code:         'POST' ->
              case PathTokens of
                  ["uilogin"] ->
                      {ui, IsSSL, fun handle_uilogin/1};
                  ["uilogout"] ->
                      {done, handle_uilogout(Req)};
                  ["sampleBuckets", "install"] ->
  