forked from enviPath/enviPy
secret packs viz
This commit is contained in:
@ -49,7 +49,7 @@ from .views import get_remote_address
|
||||
|
||||
Package = s.GET_PACKAGE_MODEL()
|
||||
|
||||
auth_log = logging.get_logger("auth")
|
||||
auth_log = logging.getLogger("auth")
|
||||
|
||||
|
||||
def get_cached_jwks(tenant_id: str, force=False) -> Dict:
|
||||
|
||||
@ -423,7 +423,7 @@ def get_base_context(request, for_user=None) -> Dict[str, Any]:
|
||||
"external_databases": ExternalDatabase.get_databases(),
|
||||
"site_id": s.MATOMO_SITE_ID,
|
||||
# EDIT START
|
||||
"secret_groups": Group.objects.filter(secret=True),
|
||||
"secret_groups": Group.objects.filter(secret=True, user_member=current_user),
|
||||
# EDIT END
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user