I tried to edit admin role resources and selected custom option and saved.
with that admin account not able to login and getting below message
Sorry, you need permissions to view this content.
Next steps
Are you trying to edit that account roles using Admin login ?
I mean currently you are logged in with the user - it have full permissions ? it is admin ?
Share more details on this so its helpful us to troubleshoot the issue.