#NEWLINE# @ property #NEWLINE# def _user_group_perm_cache( self ) : #NEWLINE# #INDENT# '\n        cached_permissions will generate the cache in a lazy fashion.\n        ' #NEWLINE# if ( not cache_filled . user ) : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# cache_filled = getattr ( self . user , '_authority_perm_cache_filled' , False ) #NEWLINE# if cache_filled : #NEWLINE# #INDENT# return self . user . _authority_group_perm_cache #NEWLINE# #UNINDENT# self . _prime_user_perm_caches ( ) #NEWLINE# return self . user . _authority_group_perm_cache