Changeset - ae3d9b4c043e
default
0
1
0
Grafted from: f86af7b1cdaa
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.
1 file changed with 7 insertions and 2 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)