- Fixed incorrect generic in PermissionAPI (#8317)