Blueprints: how to disable the security tab?

To make my content easy to manage I disable tabs that are not useful depending on the page.

In Grav 1.7 I cannot find a way to disable the Security tab.

The following blueprint still displays the Security tab although it is not defined and there is no inheritance:

form:
  fields:
    tabs:
      type: tabs
      active: 1
      fields:
        content:
          type: tab
          title: PLUGIN_ADMIN.CONTENT
          fields:
            xss_check:
              type: xss
            settings:
              type: section
              title: Not editable
            folder:
              type: hidden
              label: PLUGIN_ADMIN.FOLDER_NAME

How can we hide this tab?

Bonus question:
Sometimes a page should not be editable, is there any better way to achieve this that the one from my example where I actually hide all fields and hope that the user will not find its way to the expert mode?

Hello, I believe you can fine tune permissions by Group and User.
See here: Groups and Permissions | Grav Documentation
and here: FAQ | Grav Documentation
Please note that I didn’t test this myself, but it’s the official documentation.