Bug 52355 - The portal entry visibility evaluation is unnecessarily slow for anonymous users
The portal entry visibility evaluation is unnecessarily slow for anonymous users
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-6-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-11-12 11:24 CET by Dirk Wiesenthal
Modified: 2020-11-25 12:08 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2020-11-12 11:24:51 CET
If username is None, the cache is nevertheless searched: Is this username in any of the groups where this portal entry is allowed? When having thousands of nested groups, this is expensive. And unnecessary. We should return immediately if username is None.
Comment 1 Dirk Wiesenthal univentionstaff 2020-11-12 11:38:08 CET
Fixed in

Package: univention-portal
Version: 3.0.2-11A~4.4.0.202011121137
Branch: ucs_4.4-0
Scope: errata4.4-6
Comment 3 Florian Best univentionstaff 2020-11-12 12:30:41 CET
OK: fix
OK: YAML