mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 23:16:36 +02:00
add portfolios view
This commit is contained in:
parent
54e6ce21db
commit
82cd91d923
3 changed files with 32 additions and 1 deletions
|
@ -244,6 +244,9 @@ class User(AbstractUser):
|
|||
if permission:
|
||||
return permission.portfolio
|
||||
return None
|
||||
|
||||
def get_portfolios(self):
|
||||
return self.portfolio_permissions.all()
|
||||
|
||||
@classmethod
|
||||
def needs_identity_verification(cls, email, uuid):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue