snapshot: preserve branding foundation and platform owner split
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
from .branding import get_branding_context
|
||||
from .roles import template_role_context
|
||||
|
||||
|
||||
def role_context(request):
|
||||
return template_role_context(getattr(request, 'user', None))
|
||||
context = template_role_context(getattr(request, 'user', None))
|
||||
context.update(get_branding_context())
|
||||
return context
|
||||
|
||||
Reference in New Issue
Block a user