The profile view (`/users/userinfo/`) needs to be moved to FAB auth manager. The profile URL needs to be returned as part of `get_url_account()` as specified in the AIP
if not self.appbuilder.update_perms:
            self.log.debug("Skipping db since appbuilder disables update_perms")
            return
        super().create_db()
    def _get_root_dag_id(self, dag_id: str) -> str:
        if "." in dag_id:
            dm = (
                self.appbuilder.get_session.query(DagModel.dag_id, DagModel.root_dag_id)
                .filter(DagModel.dag_id == dag_id)
                .first()
            )
            return dm.root_dag_id or dm.dag_id
        return dag_id
    def init_role(self, role_name, perms) -> None:
        """
        Initialize the role with actions and related resources.
        :param role_name:
        :param perms:
        :return:
        """
        warnings.warn(
            "`init_role` has been deprecated. Please use `bulk_sync_roles` instead.",
            RemovedInAirflow3Warning,
            stacklevel=2,
        )
        self.bulk_sync_roles([{"role": role_name, "perms": perms}])
    def bulk_sync_roles(self, roles: Iterable[dict[str, Any]]) -> None: