[Jifty-commit] r4068 - in apps/CASPlus/trunk: lib

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Sep 10 12:54:03 EDT 2007


Author: sterling
Date: Mon Sep 10 12:54:03 2007
New Revision: 4068

Modified:
   apps/CASPlus/trunk/   (props changed)
   apps/CASPlus/trunk/lib/CASPlus.pm

Log:
 r11888 at riddle:  andrew | 2007-09-10 11:53:42 -0500
 Granting may_manage_profiles() permissions also grants permission to modify database-backed models.


Modified: apps/CASPlus/trunk/lib/CASPlus.pm
==============================================================================
--- apps/CASPlus/trunk/lib/CASPlus.pm	(original)
+++ apps/CASPlus/trunk/lib/CASPlus.pm	Mon Sep 10 12:54:03 2007
@@ -147,6 +147,10 @@
                 return 'allow';
             }
 
+            if ($self->current_user->may_manage_profiles) {
+                return 'allow';
+            }
+
             return '';
         },
     );
@@ -159,6 +163,10 @@
                 return 'allow';
             }
 
+            if ($self->current_user->may_manage_profiles) {
+                return 'allow';
+            }
+
             return '';
         },
     );


More information about the Jifty-commit mailing list