I want to create relationship between users like friends, followers etc. How do I do that, I haven’t found any tutorial on this, Is there any existing tutorial on this that I am missing? If not, Can somebody please tell on How would I do this?
Also, I want to let admin users post certain stuff (certain data types) and which other users are not allowed to post, How can I impose such restrictions on users?
The lesson you should look at is ‘Defining a field as a list of things’. In the lesson it’s about ‘shopping items’, but it could very well be a user, and then you define a field on the user type which is ‘Followers’ and is of type ‘List of users’.
For admin, you should look at this post Best way to handle admin features. Basically create a field admin yes/no on the user, and use some conditions on the workflows.
Thanks Emmanuel, I didn’t knew that there is also type " List of users " this certainly can be very helpful while defining things.I would try to work this out as you suggested.
Sorry , I think I got the answer after looking at the screenshot again , I think you meant select the type user and check the checkbox "This type is a list of elements " .
I’m doing exactly this, but for some reason there is no field to enter users when creating a new entry. The label for the user list is there, but then it’s blank next to it. If I deselect the “list” checkbox, that is, the field type is no longer a list and instead just a field type for a single user… then that works fine - but this only allows for a single user entry, whereas, I want a list of them to be associated with the primary entry. Is this a bug? I’d rather not workaround by creating multiple single user field types. Thanks!
It’s a little difficult as I haven’t done much design with the data quite yet, just setting up my data items for the moment. The issue is right here… you’ll notice next to “subcard” that no field appears to enter users:
Got it. You guys are doing a great job. Keep those features coming. This is truly the first platform where I’m able to do exactly what I want (been looking for about 2 years!)
@romanmg After saved the THING you could go to a new view that allows you to search and add users to the THING you just created. I guess that would be better right?