Bug 52355 - The portal entry visibility evaluation is unnecessarily slow for anonymous users
Summary: The portal entry visibility evaluation is unnecessarily slow for anonymous users
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Portal
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 4.4-6-errata
Assignee: Dirk Wiesenthal
QA Contact: Florian Best
URL:
Keywords:
Depends on:
Blocks:
 
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):
Customer ID:
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