displaying resource's index page based on user type

i have a resource called VideoResource. i have also created a custom page called Videos. how to make sure that upon login, when the user open the resource, they will be redirected to the custom page instead of the index of VideoResource?
4 Replies
black ka1ser
black ka1ser13mo ago
for permissions, no problem as im using shield. i just want to know how to customize what clicking the resource can do
Patrick Boivin
Patrick Boivin13mo ago
Do you still need the index page? If not, you could replace it with your custom page in getPages()
black ka1ser
black ka1ser13mo ago
i need the index page for admin and custom page for user
Patrick Boivin
Patrick Boivin13mo ago
I could be wrong but it sounds like this could be done by showing the right item in the navigation, according to the user's role? Show the custom page to regular users and show the full resource to the admins (and set the correct permissions of course)