#NEWLINE# @ base . resource ( privileges . GroupPrivileges ) #NEWLINE# def group_privileges( self , group = None , repo = None ) : #NEWLINE# #INDENT# '\n        Return a resource corresponding to the group privileges for a user.\n\n        This resource only exists for User resources that specify a concrete\n        username.\n        ' #NEWLINE# if ( not self . user_id ) : #NEWLINE# #INDENT# raise base . MethodNotSupported ( ) #NEWLINE# #UNINDENT# return privileges . GroupPrivileges ( self , self . user_id , group , repo )