Access check helper file added.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app/projrev/views/helpers/access.py Thu Aug 06 18:38:54 2009 +0530
@@ -0,0 +1,7 @@
+"""This module contains the access checks
+"""
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@gmail.com>',
+]
--- a/app/projrev/views/proposal.py Thu Aug 06 18:15:57 2009 +0530
+++ b/app/projrev/views/proposal.py Thu Aug 06 18:38:54 2009 +0530
@@ -17,8 +17,12 @@
from projrev.models import Project
from projrev.models import Proposal
+from projrev.views.helpers import access
from projrev.views.helpers import forms as projrev_forms
+rights = {}
+rights['getMicr'] = 'proposer'
+
def getMicr(request):
"""View to get MICR Code from the user.