def restriction_for(self, request_data, db): return self.user_manager.library_restriction(request_data.username, path_for_db(db))