How to allow selector based requests for authorization checker protected resource | Community
Skip to main content
manisha594391
Level 4
February 26, 2025
Solved

How to allow selector based requests for authorization checker protected resource

  • February 26, 2025
  • 1 reply
  • 365 views

Hi Team,

 

I have a requirement, wherein I have to redirect url like /secure/test-0001.html to /content/en/secure/testingdata.0001.html.

 

But I can see that dispatcher is rejecting access /content/en/secure/testingdata.0001.html with error

Filter rejects: GET /content/en/secure/testingdata.0001.html HTTP/1.1
Denying access to authorization checker protected resource

 

=====

The authchecker configuration looks like below

 

/auth_checker {
# request is sent to this URL with '?uri=<page>' appended
/url "/bin/<project>/wcm/permissioncheck"
 
/filter {
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "/content/en/secure*"
/type "allow"
}
}
}
 
Any pointers appreciated

 

 

Best answer by Tethich

Hi @manisha594391 

 

Can you just try using this rule ?

 

/0001 { /glob "/content/en/secure/*.html" /type "allow" }

 

 

1 reply

Tethich
Community Advisor
TethichCommunity AdvisorAccepted solution
Community Advisor
February 26, 2025

Hi @manisha594391 

 

Can you just try using this rule ?

 

/0001 { /glob "/content/en/secure/*.html" /type "allow" }