Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion auth/auth_server/controllers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,13 @@ def format_user_action_resources(self, action_resources, action_list):
if id_ in [x[0] for x in aset]:
# downward hierarchy was derived from a higher entity
continue
response = self.get_downward_hierarchy(res_type, id_)
try:
response = self.get_downward_hierarchy(res_type, id_)
except requests.exceptions.HTTPError as exc:
if exc.response.status_code == 404:
# resource is deleted
continue
raise
self.render(action_resources, aset, response)
result = dict(map(lambda k: (k, list()), action_list))
for i in aset:
Expand Down
Loading