#NEWLINE# @ access . user #NEWLINE# @ loadmodel ( model = 'collection' , level = AccessType . ADMIN ) #NEWLINE# @ describeRoute ( Description ( 'Get the access control list for a collection.' ) . param ( 'id' , 'The ID of the collection.' , paramType = 'path' ) . errorResponse ( 'ID was invalid.' ) . errorResponse ( 'Admin permission denied on the collection.' , 403 ) ) #NEWLINE# def getCollectionAccess( self , collection , params ) : #NEWLINE# #INDENT# return self . model ( 'collection' ) . getFullAccessList ( collection )