app/soc/views/models/user_self.py
changeset 1951 921069bcc6e1
parent 1950 27c0ea479d8a
child 1986 5375e657a715
equal deleted inserted replaced
1950:27c0ea479d8a 1951:921069bcc6e1
   221 
   221 
   222   @decorators.merge_params
   222   @decorators.merge_params
   223   @decorators.check_access
   223   @decorators.check_access
   224   def roles(self, request, access_type,
   224   def roles(self, request, access_type,
   225                page_name=None, params=None, **kwargs):
   225                page_name=None, params=None, **kwargs):
   226     """Displays the unhandled requests for this user.
   226     """Displays the valid roles for this user.
   227 
   227 
   228     Args:
   228     Args:
   229       request: the standard Django HTTP request object
   229       request: the standard Django HTTP request object
   230       access_type : the name of the access type which should be checked
   230       access_type : the name of the access type which should be checked
   231       page_name: the page name displayed in templates as page and header title
   231       page_name: the page name displayed in templates as page and header title