如何授予我的用户在集合会话上设置TTL索引的权限?
[express train application listening on 3000]
Exiting process due to uncaught exception!
Error: Error setting TTL index on collection : sessions <MongoError: not authorized for query on dbname.system.indexes>
at /var/www/domain.com/node_modules/connect-mongo/lib/connect-mongo.js:139:23
at /var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1227:28
at /var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1371:30
at /var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:156:22
at /var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:611:39
at Cursor.close (/var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:939:5)
at commandHandler (/var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/cursor.js:611:21)
at null.<anonymous> (/var/www/domain.com/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:1709:18)
at g (events.js:175:14)
at EventEmitter.emit (events.js:106:17)
我正在使用https://github.com/Khelldar/Angular-Express-Train-Seed并只是更新配置文件以指向mongohq。这是图书馆的限制,是从数字海洋连接到外部主机还是我需要为我登录的用户添加的权限?