def add_permissions_menu(self, view_menu_name):
self.add_view_menu(view_menu_name)<EOL>pv = self.find_permission_view_menu("<STR_LIT>", view_menu_name)<EOL>if not pv:<EOL><INDENT>pv = self.add_permission_view_menu("<STR_LIT>", view_menu_name)<EOL>role_admin = self.find_role(self.auth_role_admin)<EOL>self.add_permission_role(role_admin, pv)<EOL><DEDENT>
Adds menu_access to menu on permission_view_menu

:param view_menu_name:
    The menu name