HI all,
I'm trying to create a calendar funtionality that
1) Allows each user to create and see only THEIR added events
2) allows them to share events with selected other users
For the first task, I think I need to create a slice of Calendar data and then write in the "Row filter condition" some kind logic that limits the view to the current user. I have a User slice called "currentUser". I also have a "user_id" that is a UNIQUEID() and a "user_email" in the Users table.
I've written this in the Row filter condition, but it seems wrong:
INDEX(CurrentUser[user_email], 1)=USEREMAIL()
Now, it may not be the best way to do it.
I would just make a CalendarTable with an Email column with initial value of UserEmail() and then a security filter to just see the rows where [Email]=UserEmail()
User | Count |
---|---|
43 | |
32 | |
25 | |
23 | |
14 |