User_is_project_admin condition returns false for site admin

Greetings!

I was testing one of AC features, and I have noticed a problem. My project admin page link was not displayed, and the page was not accessible on newly created project.

Apparently following condition was failing:

        "conditions": [
          {
            "condition": "user_is_project_admin"
          }
        ]

alternatively, I get the same problem with such condition:

        "conditions": [
          {
            "condition": "has_project_permission",
            "params": {
              "permission": "ADMINISTER_PROJECTS"
            }
          }
        ]

The reason for this was lack of “Administer” role on roles settings:
image

The PROBLEM is that I’m logged in as a site admin, and I’m able to administer the project. All project admin pages and features are available - except the one coming from AC plugin.

Question: Should this be considered as AC problem/bug?

As far as I understand it is not a bug because you don’t have ADMINISTER_PROJECTS permission, do you? Have you tried permission helper to check that?

I don’t have this permission, but I’m a site admin, and I can administer the project.
The behavior of has_project_permission=ADMINISTER_PROJECTS condition is expected and intuitive, but I’m not sure about user_is_project_admin. Looks like it’s not consistent with behavior of the product.

I have also tried this workaround(boolean operators), but without success:

        "conditions": [
          {
            "condition": "user_is_project_admin"
          },
          {
              "or": [{"condition": "user_is_admin"}]
          }
        ]

I’m using it on jiraProjectPages and jiraProjectAdminTabPanels.