[03:55:19] <kevc> great, that makes sense, thanks for the clarification!
[03:57:20] <Boomtime> you should set roles that limit those users to what you expect them to need -- don't allow any writing or they could really screw stuff up
[11:50:50] <Epoc> i'm new on MongoDB... i'm trying to understand how permission works. I created a new database, named "test1", on the db test1 i create a user "test1user" with dbAdmin on test1, readWrite on test1, userAdmin on test1
[11:51:49] <Epoc> now, i'm connecting to mondogb with noSQL Manager for MongoDB, if i try to connect as test1user to db test1 i get back an errour that says
[11:51:53] <Epoc> Command listDatabases failed: not authorized on admin to execute command { listDatabases: 1 }.
[12:06:11] <Derick> The admin database includes the following roles for administering the whole system rather than just a single database. These roles include but are not limited to replica set and sharded cluster administrative functions."
[17:04:33] <jokke> is it possible to use the aggregation framework to calculate say the average of values inside nested documents which are elements of an array?
[17:05:24] <jokke> something like this { _id: ..., values: [ { sub_id: ..., value: 15 }, ... ] }
[17:05:55] <jokke> i think this is possible by using sub_id in the _id for the group stage
[17:06:58] <jokke> but as soon as i have something like this { _id: ..., foo_values: [ { sub_id: ..., value: 15 }, ... ], bar_values: [ { sub_id: ..., value: 20 }, ... ] } things get really complicated