Allow superusers too see all profiles ✅ 
Closes #371 (closed)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
Closes #371 (closed)
| 299 | 299 | # if the intersection of the 2 lists is empty the logged in user | 
| 300 | 300 | # has no permission to check the target's profile | 
| 301 | 301 | # (except if the user want to see his own profile) | 
| 302 | if len(intersection) < 1 and target != user: | |
| 302 | if len(intersection) < 1 and target != user and not user.is_superuser: | |
| 
 
Please
register
or
sign in
to reply
 | ||
Added 1 new commit:
Added 1 new commit:
mentioned in commit 38b6f781
mentioned in commit 38b6f781