Redirect to Profile On UsersRessource
Am trying to redirect the user to his own profile if he's trying to view or edit his own record on UsersRessource
Am hiding his record with
ModifyQueryUsing on $table on UsersRessource
But a user can just edit the URL to access his resources
(Not talking about Authorisation)
I want to redirect to the Profile page if the user tries to view or edit his own User Model
Any help ?
Am hiding his record with
ModifyQueryUsing on $table on UsersRessource
But a user can just edit the URL to access his resources
(Not talking about Authorisation)
I want to redirect to the Profile page if the user tries to view or edit his own User Model
Any help ?