docs: def add_url_rule(self, rule, endpoint=None, view_func=None, roles=None, **options):
          """See :meth:`Flask.add_url_rule`.
  
          If `roles` parameter is present, it must be a
          :class:`abilian.service.security.models.Role` instance, or a list of
          Role instances.
          """
          super().add_url_rule(rule, endpoint, view_func, **options)
  
          if roles:
              self.add_access_controller(
                  endpoint, allow_access_for_roles(roles), endpoint=True
              )