Warning About role when using custom controller method

I’m also trying that now and haven’t had a whole lot of luck. I used codemods for the code, but I got stuck with the database migration using the script. Did you have any issues during your migration.