Bug 971538 - [System2] Instantiable PermissionManager

- rename currentPermission to permissionType
Merge pull request #18003 from gasolin/issue-971538

Bug 971538 - [System2] Instantiable PermissionManager, r=alive