Skip to content

Commit

Permalink
stats: Permission harmonization
Browse files Browse the repository at this point in the history
Co-authored-by: Romain Sébille <20045330+rsebille@users.noreply.github.com>
  • Loading branch information
dejafait and rsebille committed May 17, 2024
1 parent 1bf46c6 commit 60bb622
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions itou/www/stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def stats_siae_etp(request):
mb.ASP_SIAE_FILTER_KEY_FLAVOR3: [
str(membership.company.convention.asp_id)
for membership in request.user.active_or_in_grace_period_company_memberships()
if membership.is_admin
]
},
)
Expand Down

0 comments on commit 60bb622

Please sign in to comment.