perm.go 197 B

1234567891011
  1. package seo
  2. import "net/http"
  3. const (
  4. PermEdit = "perm_seo_edit"
  5. )
  6. func editIsAllowed(r *http.Request) error {
  7. return permVerifier.Do(PermEdit).On("qor_seo_settings").WithReq(r).IsAllowed()
  8. }