Files
@ ae3d9b4c043e
Branch filter:
Location: kallithea/dev_requirements.txt
ae3d9b4c043e
222 B
text/plain
auth: compute AuthUser.permissions lazily
Prepare for computing each kind of permissions separately so they can be
skipped in the common case.
This will undo a part of 1ecd6c0e2787 where we took the detour of assigning
permissions in __init__ - now we move it back to a LazyProperty, but in a
better way.
Prepare for computing each kind of permissions separately so they can be
skipped in the common case.
This will undo a part of 1ecd6c0e2787 where we took the detour of assigning
permissions in __init__ - now we move it back to a LazyProperty, but in a
better way.