Write the User class and the is_authenticated decorator that reads the first positional argument, so a blog post can be created only by a logged-in user.
Phase: MIL-002
Write the `User` class and the `is_authenticated` decorator that reads the first positional argument, so a blog post can be created only by a logged-in user.
Phase: MIL-002
Tirsvad
added this to the MIL-002 Lecture Steps milestone 2026-11-06 05:24:56 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Write the
Userclass and theis_authenticateddecorator that reads the first positional argument, so a blog post can be created only by a logged-in user.Phase: MIL-002