Stage 40 — Permissions / Capabilities API

Upload this package over the existing public installation. Do not import SQL.

Test:
https://ieduportal.com/school-management-system/public/upgrade/stage40.php

The test logs in as admin101/admin101 and calls GET /api/v1/permissions/ with the returned bearer token.
