How to restrict a user from changing the time-interval in a dashboard

Hello Team ,

Good day .
Can i restrict a view only user from not to change the default time interval set in the dashboard ?
I created a view only user for a particular folder but however when i login with that user still i could change the time interval of the dashboard . i want it to be fixed i.e view only should not be able to change the interval.

Any info about this would be really helpful .

Regards,
Sandeep

You could do this by going to dashboard settings and enable Hide time picker and then hard-code your time interval within your query instead of relying on the time picker variable.

Of course this would affect all users, if you still wanted other users to be able to pick the period you may have to have two copies of the dashboard, one that view-only users could see (without the time picker) and one that other users could see (with the time picker).