/Engine/Source/Editor/UnrealEd/Public/Subsystems/AssetEditorSubsystem.h
Get the permission list that controls which editor modes are exposed
[FNamePermissionList](API\Runtime\Core\Misc\FNamePermissionList) & GetAllowedEditorModes()