I know there is Permissions Logger in Classic Client that can track a user's activity and build Roles and Permissions for the user:
https://forum.mibuso.com/discussion/13453/permissions-logger
I also found one for RTC in NAV2013R2:
https://saurav-nav.blogspot.co.uk/2015/05/nav-2013-r2-role-permission-wizard.html
Is there anything like this for NAV2013?
There is no Code Coverage there...