Page 1 of 1

Assign task to all users

Posted: Fri Oct 31, 2014 12:24 pm
by Brandon nobile

Hi I have been trying to implement something similar to the example in this thread. https://getsatisfaction.com/apperyio/...

I have it working but currently I have to assign all tasks to each user manually in the user_tasks collection. Howe can i have it assigned to each user? Thanks


Assign task to all users

Posted: Fri Oct 31, 2014 1:52 pm
by Maryna Brodina

Hello!

So you just want to make all the records accessible for all users?


Assign task to all users

Posted: Fri Oct 31, 2014 1:54 pm
by Brandon nobile

Yes but i want to be able to query if they have completed them also.


Assign task to all users

Posted: Fri Oct 31, 2014 3:01 pm
by Evgene Karachevtsev

Hello Brandon,

Please set in the acl for all users access to read and write, and I may also add another field in this collection, where to store the Pointer of the user. This will allow all users to read all the entries and you will be able to read the record of a specific user, by knowing his id.