Skip to content

Commit

Permalink
Merge branch 'feature/reversed-lineage' into contract_signing
Browse files Browse the repository at this point in the history
  • Loading branch information
VDigitall committed Mar 26, 2020
2 parents 26cd718 + c4f31ee commit c6d745d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openprocurement/api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_local_roles(context):
from pyramid.location import lineage

roles = {}
for location in lineage(context):
for location in reversed(list(lineage(context))):
try:
local_roles = location.__local_roles__
except AttributeError:
Expand Down

0 comments on commit c6d745d

Please sign in to comment.