def update_admin_perm_view(self):
pvms = self.get_session.query(sqla_models.PermissionView).all()<EOL>pvms = [p for p in pvms if p.permission and p.view_menu]<EOL>admin = self.find_role('<STR_LIT>')<EOL>admin.permissions = list(set(admin.permissions) | set(pvms))<EOL>self.get_session.commit()<EOL>
Admin should have all the permission-views.
Add the missing ones to the table for admin.

:return: None.