Add CREATE_CCPO_USER permission, create context processor for ATAT so user_can and permissions can be used in the template, add placeholder button for adding new CCPO user

This commit is contained in:
leigh-mil
2019-08-06 14:47:36 -04:00
parent 93c39fd7e7
commit 8420a78392
5 changed files with 41 additions and 21 deletions

View File

@@ -119,3 +119,10 @@ def portfolio():
"funding_end_date": funding_end_date,
"funded": funded,
}
def atat():
return {
"permissions": Permissions,
"user_can": user_can_view,
}