Data according to profile

Hi,
I need help with the following scenario

I have a task list with 3 statuses: Started, in progress and Completed

And I have users who can receive some kind of profile: administrator or reader

when the user who is logged in has an administrator profile, I want him to be able to see all the tasks, (started, in progress and closed), and when the user who is logged in has a reader profile, he sees only what is in progress and completed.

Hi there, @idoubts7… one of the ways you can approach this one is by using conditionals to change the data source of the repeating group that is showing your tasks.

So, you could have a condition on the repeating group that says when the current user’s profile is administrator, the data source is a search for tasks with no constraints. Then, you could have a second condition on the repeating group that says when the current user’s profile is reader, the data source is a search for tasks with a constraint where status does not equal Started.

Does that make sense? Hope it helps.

Best…
Mike

This topic was automatically closed after 70 days. New replies are no longer allowed.