no, the landlord should fix their property in a timely manner or they should sell it to someone that will
a $20 lamp you get to keep is smarter and safer than fixing someone else's property doing unlicensed electrical work at your own cost and without their permission... why does this even have to be explained?
Are you from the US? The overwhelming likely fixes to "my bathroom light won't work" are not work that would require skilled electrical work or a permit. The cost is also not likely to be more than a floor lamp, and the tenant can also keep the fixture when they leave.
Also many jurisdictions (willing to bet covering a huge plurality of Americans) would let you subtract the cost of necessary repairs from your rent.
Yes, I know what GFCI is and how it works, but what does that have to do with my comment that you replied to?
When house shopping, I have found non-GFCI outlets where code said they should be GFCI. A homeowner got a crappy electrician, and you think all landlords will get the best electricians that follow code?
a $20 lamp you get to keep is smarter and safer than fixing someone else's property doing unlicensed electrical work at your own cost and without their permission... why does this even have to be explained?