add info about roles / perms

This commit is contained in:
zandercymatics 2024-11-14 13:52:45 -07:00
parent b7f3f083fc
commit 174d217315
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 36 additions and 13 deletions

View file

@ -241,7 +241,7 @@ class UserPortfolioPermissionModelAnnotation(BaseModelAnnotation):
# Tweak the queries slightly to only return the data we need.
# When returning data for the csv report we:
# 1. Only return the domain name for 'domain_info'
# 1. Only return the domain name for 'domain_info' rather than also add ':' seperated id
# 2. Return a formatted date for 'last_active'
# These are just optimizations that are better done in SQL as opposed to python.
if csv_report: