[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 0.05-2-g3bb8725

Shawn Moore sartak at bestpractical.com
Thu Feb 24 18:23:37 EST 2011


The branch, master has been updated
       via  3bb8725d52c437b612c62f28e685fb0dd7260c6f (commit)
       via  6f457857e339940e179170c3703a6085efd33e6d (commit)
      from  cb750a87a98298cb05713ac57edcaddeff0ba10d (commit)

Summary of changes:
 .gitignore                                         |    1 +
 t/TestApp-Plugin-RecordHistory/etc/config.yml      |    2 +-
 .../lib/TestApp/Plugin/RecordHistory/Model/Book.pm |    2 ++
 .../lib/TestApp/Plugin/RecordHistory/Model/CD.pm   |    2 ++
 .../lib/TestApp/Plugin/RecordHistory/Model/DVD.pm  |    2 ++
 5 files changed, 8 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 6f457857e339940e179170c3703a6085efd33e6d
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Feb 24 18:22:15 2011 -0500

    Skip access control but let anyone do anything to the existing models

diff --git a/t/TestApp-Plugin-RecordHistory/etc/config.yml b/t/TestApp-Plugin-RecordHistory/etc/config.yml
index 683df68..2c4ed69 100644
--- a/t/TestApp-Plugin-RecordHistory/etc/config.yml
+++ b/t/TestApp-Plugin-RecordHistory/etc/config.yml
@@ -34,7 +34,7 @@ framework:
   PubSub: 
     Backend: Memcached
     Enable: ~
-  SkipAccessControl: 1
+  SkipAccessControl: 0
   TemplateClass: TestApp::Plugin::RecordHistory::View
   View: 
     Handlers: 
diff --git a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/Book.pm b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/Book.pm
index d1cbb89..8480a45 100644
--- a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/Book.pm
+++ b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/Book.pm
@@ -13,5 +13,7 @@ use TestApp::Plugin::RecordHistory::Record schema {
 
 use Jifty::Plugin::RecordHistory::Mixin::Model::RecordHistory;
 
+sub current_user_can { 1 }
+
 1;
 
diff --git a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/CD.pm b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/CD.pm
index 70889fd..28b6bc2 100644
--- a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/CD.pm
+++ b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/CD.pm
@@ -15,5 +15,7 @@ use Jifty::Plugin::RecordHistory::Mixin::Model::RecordHistory (
     cascaded_delete => 0,
 );
 
+sub current_user_can { 1 }
+
 1;
 
diff --git a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/DVD.pm b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/DVD.pm
index e228ff5..701ff9a 100644
--- a/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/DVD.pm
+++ b/t/TestApp-Plugin-RecordHistory/lib/TestApp/Plugin/RecordHistory/Model/DVD.pm
@@ -15,5 +15,7 @@ use Jifty::Plugin::RecordHistory::Mixin::Model::RecordHistory (
     delete_change => 1,
 );
 
+sub current_user_can { 1 }
+
 1;
 

commit 3bb8725d52c437b612c62f28e685fb0dd7260c6f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Feb 24 18:23:13 2011 -0500

    Ignore inc/.author

diff --git a/.gitignore b/.gitignore
index 770467f..374f740 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ t/t/mailbox_*
 t/testapp_plugin_*
 t/TestApp-Plugin-RecordHistory/t/mailbox_*
 t/TestApp-Plugin-RecordHistory/testapp_plugin_*
+inc/.author

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



More information about the Bps-public-commit mailing list