app/soc/views/helper/access.py
changeset 2032 b881417db09e
parent 2020 df3552deba66
child 2077 fd2e83a297c7
equal deleted inserted replaced
2031:f018461e0f8a 2032:b881417db09e
  1412     """
  1412     """
  1413 
  1413 
  1414     try:
  1414     try:
  1415       # check if it is my role the user's own role
  1415       # check if it is my role the user's own role
  1416       self.checkHasActiveRoleForScope(django_args, role_logic)
  1416       self.checkHasActiveRoleForScope(django_args, role_logic)
       
  1417       return
  1417     except out_of_band.Error:
  1418     except out_of_band.Error:
  1418       pass
  1419       pass
  1419 
  1420 
  1420     # apparently it's not the user's role so check if managing this role is allowed
  1421     # apparently it's not the user's role so check if managing this role is allowed
  1421     fields = {
  1422     fields = {