Given an authenticated user that doesn't have a Inkirinet's contract associated (User.contracts.exists() == False), when opening an authenticated view (e.g. Home) 403 Forbidden is returned.
Desired State
Authenticated user without contracts should be redirected to login view with a message explaining why he was redirected (e.g. "You don't have permission to access that page".
Current State
Given an authenticated user that doesn't have a Inkirinet's contract associated (
User.contracts.exists() == False
), when opening an authenticated view (e.g. Home) 403 Forbidden is returned.Desired State
Authenticated user without contracts should be redirected to login view with a message explaining why he was redirected (e.g. "You don't have permission to access that page".