app/soc/views/models/role.py
changeset 1119 bd25a058ea2c
parent 1118 d2a2268b3227
child 1129 a98a165c1300
equal deleted inserted replaced
1118:d2a2268b3227 1119:bd25a058ea2c
   252       group_entity: The group entity for which the request scope_path should
   252       group_entity: The group entity for which the request scope_path should
   253                     be returned.
   253                     be returned.
   254     """
   254     """
   255 
   255 
   256     if group_entity.scope_path:
   256     if group_entity.scope_path:
   257       request_scope_path = '%s/%s' % [
   257       request_scope_path = '%s/%s' % (
   258           group_entity.scope_path, group_entity.link_id]
   258           group_entity.scope_path, group_entity.link_id)
   259     else:
   259     else:
   260       request_scope_path = group_entity.link_id
   260       request_scope_path = group_entity.link_id
   261 
   261 
   262     return request_scope_path
   262     return request_scope_path
   263 
   263