phpvms icon indicating copy to clipboard operation
phpvms copied to clipboard

Type Ratings

Open ANA-Haruka opened this issue 4 years ago • 4 comments

In the real world Pilots have to earn a "Type Rating" in order to fly a particular aircraft type.

There should be a way to simulate this behavior in PHPVMS, without it necessarily being linked to Rank.

Perhaps a simple way to add aircraft permissions directly to the pilots account rather than being inherited directly by rank would suffice.

This can be manually assigned to a pilot by an admin.

ANA-Haruka avatar Dec 22 '19 03:12 ANA-Haruka

I've thought about this a lot in the past and it gets complicated. The "rank" system is a little flawed, admittedly. I have to think of a way to disconnect it, but we still need a link from a pilot to a subfleet. I think if you think of the subfleet as the "type rating", then the rank can work. But perhaps I can have a way to link a pilot directly to the subfleet/type rating and then the aircraft contained within. Lemme think about it

nabeelio avatar Dec 22 '19 04:12 nabeelio

Subfleets and type ratings could be roughly equivalent for most airlines. The only possible exception would be VAs hosting multiple Airlines where there is more than 1 Subfleet per type, IE: Subfleet = AA 787-8 JL 787-8

Same "type" but different subfleet. This is easily sidestepped by the admin adding both subfleets to the pilot once the requirements for the "Type Rating" are met however.

I think thats a fine solution

ANA-Haruka avatar Dec 22 '19 04:12 ANA-Haruka

This is really required , but we need to put the type ratings between the pilot and the subfleet.

Ex;

We will have some type ratings like Boeing B737 300-900 , Airbus A32x (covering A318 to 321) . Type ratings are not related or connected to the airline.

Then we have to link our subfleets with the type ratings required to fly them. For example a subfleet of B738-RYR (Rynair B737-800) and B739-UAL (United Airlines B737-900 subfleet) will use the same Type Rating (Boeing B737 300-900).

This can be linked like we add expenses to subfleets. Ranks and subfleet relations may remain unchanged at this moment.

With the setup completed, we can assign type ratings to users ... While checking the users rights, from top to bottom we first need to check his type ratings to identify which subfleets he can use, then we can continue checking/filtering subfleets by his rank and the final result will only have the subfleets he can fly with (according to his type rating and rank)

We just need to add the type rating check before the subfleet check.

FatihKoz avatar Dec 10 '20 16:12 FatihKoz

Should be closed too, #1360 is merged

FatihKoz avatar Nov 30 '21 19:11 FatihKoz