From ed1f84b4e8f626245995ecda5afcf83092c153b2 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 15 Sep 2014 20:44:48 -0700 Subject: RT 4.0.22 --- rt/t/data/plugins/Overlays/html/overlay_loaded | 8 ++++++++ rt/t/data/plugins/Overlays/html/user_accessible | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 rt/t/data/plugins/Overlays/html/overlay_loaded create mode 100644 rt/t/data/plugins/Overlays/html/user_accessible (limited to 'rt/t/data/plugins/Overlays/html') diff --git a/rt/t/data/plugins/Overlays/html/overlay_loaded b/rt/t/data/plugins/Overlays/html/overlay_loaded new file mode 100644 index 000000000..eeeb0320f --- /dev/null +++ b/rt/t/data/plugins/Overlays/html/overlay_loaded @@ -0,0 +1,8 @@ +<%flags> +inherit => undef # avoid auth + +<%init> +$r->content_type("text/plain"); +$m->out( $RT::User::LOADED_OVERLAY ? "yes" : "no" ); +$m->abort(200); + diff --git a/rt/t/data/plugins/Overlays/html/user_accessible b/rt/t/data/plugins/Overlays/html/user_accessible new file mode 100644 index 000000000..8eef2b437 --- /dev/null +++ b/rt/t/data/plugins/Overlays/html/user_accessible @@ -0,0 +1,8 @@ +<%flags> +inherit => undef # avoid auth + +<%init> +$r->content_type("application/json"); +$m->out( JSON( RT::User->_ClassAccessible() ) ); +$m->abort(200); + -- cgit v1.2.1