from wagtail.wagtailcore.permission_policies import ModelPermissionPolicy
from wagtail.wagtailredirects.models import Redirect
permission_policy = ModelPermissionPolicy(Redirect)

49fcfb09774e918e6ae78364e2a3a342202eedcf
<mask token>

<mask token>
permission_policy = ModelPermissionPolicy(Redirect)

from wagtail.wagtailcore.permission_policies import ModelPermissionPolicy
from wagtail.wagtailredirects.models import Redirect
permission_policy = ModelPermissionPolicy(Redirect)
