Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def is_shown(self, request):
return permission_policy.user_has_any_permission(
request.user, ['add', 'change', 'delete']
)
def is_shown(self, request):
return permission_policy.user_has_any_permission(
request.user, ['add', 'change', 'delete']
)