Actions
Task #2366
closedAuthorization policies - use cache for evaluate permissions (loading permissions for eav attributes is slow)
Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Authentication / Authorization
Target version:
Start date:
07/03/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Description
Authorization policies are evaluated per record (entity). When form attributes are loaded for owner entity, then each attribute can be secured by owner entity permissions (by owner read / edit prmission) - owner permissions are evaluated for each attribute => it's slower by attribute count.
Use cache for evaluate permissions for entity - these will hepl for UC above and generally speed up evaluating permissions for single records.
Clear this cache, when an autorization policy is saved or deleted.
Related issues
Actions