Root Access After Custom ROM Flash
You don't need to flash the whole ROM again.You can just flash the superuser.zip from the recovery.(It's completely safe,just make sure that it's for your device). Good luck!

Here is the direct download link for updated supersu.zip from XDA Developers. Hope this helps!