Added user permissions check

Added isGranted to check if a user has the right permissions, otherwise hide the affected button.

e.g.: Check if user has list permissions, otherwise don't show update and return to list button