Getting redirected to admin dashboard and setting policy that only admin can controll the data on the table

You need user type segregation. With this, you can set super-admin, admin, manager, data-entry, view-only, etc types of user access (using Policy authorization to control everything).

Someone asked this previously and here is a way to do it so you will have full-control.