def get_all_permissions_views(self):
perms_views = set()<EOL>for role in self.get_user_roles():<EOL><INDENT>perms_views.update({(perm_view.permission.name, perm_view.view_menu.name)<EOL>for perm_view in role.permissions})<EOL><DEDENT>return perms_views<EOL>
Returns a set of tuples with the perm name and view menu name