equal
deleted
inserted
replaced
360 index += 1 |
360 index += 1 |
361 |
361 |
362 # call the _list method from base.View to show the list |
362 # call the _list method from base.View to show the list |
363 return self._list(request, params, contents, page_name) |
363 return self._list(request, params, contents, page_name) |
364 |
364 |
365 |
|
366 def registerRole(self, role_name, role_view): |
365 def registerRole(self, role_name, role_view): |
367 """Adds a role to the role_views param. |
366 """Adds a role to the role_views param. |
368 |
367 |
369 Args: |
368 Args: |
370 role_name: The name of the role that needs to be added |
369 role_name: The name of the role that needs to be added |