[Bps-public-commit] rt-extension-configindatabase branch, master, updated. 13b5847efb9ad65880e8e6df681a27c3b4f0ba3b

Shawn Moore shawn at bestpractical.com
Tue Aug 15 14:18:51 EDT 2017


The branch, master has been updated
       via  13b5847efb9ad65880e8e6df681a27c3b4f0ba3b (commit)
       via  5e8b9577cb6f31cccccf04c7ca4fefc5ef09ad46 (commit)
      from  9be38f8918bde78970031804ce11fc475be7ec49 (commit)

Summary of changes:
 MANIFEST                                           | 31 ++++++++++++++++++++++
 .../Elements/Tabs/Privileged                       | 10 +++++++
 2 files changed, 41 insertions(+)
 create mode 100644 MANIFEST
 create mode 100644 html/Callbacks/RT-Extension-ConfigInDatabase/Elements/Tabs/Privileged

- Log -----------------------------------------------------------------
commit 5e8b9577cb6f31cccccf04c7ca4fefc5ef09ad46
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Tue Aug 15 18:15:43 2017 +0000

    Add "Edit Config" menu item

diff --git a/html/Callbacks/RT-Extension-ConfigInDatabase/Elements/Tabs/Privileged b/html/Callbacks/RT-Extension-ConfigInDatabase/Elements/Tabs/Privileged
new file mode 100644
index 0000000..82c8798
--- /dev/null
+++ b/html/Callbacks/RT-Extension-ConfigInDatabase/Elements/Tabs/Privileged
@@ -0,0 +1,10 @@
+<%INIT>
+return unless $session{'CurrentUser'}->HasRight( Object=> RT->System, Right => 'SuperUser');
+
+my $tools = Menu->child('admin')->child('tools');
+
+$tools->child( edit_config =>
+    title => loc('Edit Configuration'),
+    path  => '/Admin/Tools/EditConfig.html',
+);
+</%INIT>

commit 13b5847efb9ad65880e8e6df681a27c3b4f0ba3b
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Tue Aug 15 18:16:55 2017 +0000

    MANIFEST and 0.01 releng

diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..655c804
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,31 @@
+etc/acl.Pg
+etc/schema.mysql
+etc/schema.Oracle
+etc/schema.Pg
+etc/schema.SQLite
+html/Admin/Tools/EditConfig.html
+html/Callbacks/RT-Extension-ConfigInDatabase/Elements/Tabs/Privileged
+html/Widgets/Form/Code
+html/Widgets/Form/MultilineString
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Include.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/ReadmeFromPod.pm
+inc/Module/Install/RTx.pm
+inc/Module/Install/RTx/Runtime.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+inc/unicore/Name.pm
+inc/YAML/Tiny.pm
+lib/RT/DatabaseSetting.pm
+lib/RT/DatabaseSettings.pm
+lib/RT/Extension/ConfigInDatabase.pm
+Makefile.PL
+MANIFEST			This list of files
+META.yml
+README
+static/css/config-in-database.css

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list