Thank you for your query.
Before your friend can consider applying for a British Passport, she first needs to apply for permanent residence and this rule came into force on 12 November 2015.
Once she gets her permanent residence, then she can proceed with applying for a British Passport. She needs to ensure that she complies with the requirements for a Permanent Residence.
The application she needs to complete is:
Please kindly rate my answer.