artyom
05/05/2017, 8:52 AMbogdan
05/05/2017, 12:47 PMbogdan
05/05/2017, 12:48 PMpettanko
05/05/2017, 1:06 PMsubscriptions-transport-socketio
?alexc
05/05/2017, 1:43 PMalexc
05/05/2017, 1:44 PMalexc
05/05/2017, 1:44 PMalexc
05/05/2017, 1:45 PMalexc
05/05/2017, 1:45 PMloelsonk
05/05/2017, 1:54 PMtestrole
(enums ADMIN, MODERATOR, ...). I would like to allow only authenticated users with testrole: ADMIN
to be able to update User model. My update permission query does not work: query ($user_id: ID!) {
SomeUserExists(
filter: {
id: $user_id
testrole: ADMIN
}
)
}
gmuresan
05/05/2017, 1:58 PMalexc
05/05/2017, 2:32 PMakadop
05/05/2017, 2:39 PMgmuresan
05/05/2017, 5:36 PMvacom
05/05/2017, 5:42 PMdatwheat
05/05/2017, 8:46 PMmikep
05/05/2017, 9:15 PMnickhudkins
05/05/2017, 10:06 PMartyom
05/05/2017, 10:14 PMartyom
05/05/2017, 11:00 PMmarcusstenbeck
05/06/2017, 10:02 AMmarcusstenbeck
05/06/2017, 10:03 AM[3, 6, 4, 6, 8]
I’d like a response kind of like this:marcusstenbeck
05/06/2017, 10:04 AMtotalSumOfAllCharges: 27
latestCharges: [3, 6, 4]
marcusstenbeck
05/06/2017, 10:06 AMtotalSumOfAllCharges
?marcusstenbeck
05/06/2017, 10:07 AMjensneuse
05/06/2017, 10:30 AMmarcusstenbeck
05/06/2017, 11:36 AMmarcusstenbeck
05/06/2017, 11:37 AMnilan
05/06/2017, 11:38 AMlast
argument of the allCharges
query. A cron job works perfectly for your situation I thinkjensneuse
05/06/2017, 11:39 AM