Bug 971538 - [System2] Instantiable PermissionManager

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

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