All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #199 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

Scheduler: Indexing fails if Everyone do not have access

Reported by: mari@… Owned by: andyturl@…
Priority: critical Component: EasySearch
Keywords: Cc: gra@…


(Everyone does not have access right on the entire site).

The indexer fails with with error message:

`2010-03-09 16:12:02,765 ERROR 28 NetworkedPlanet.EasySearch.Scheduler.IndexJob.Execute - Error executing schedule job

System.UnauthorizedAccessException: You are not authorized to access /pages/1015/`

This is inside GetPageDirectory in UfsUtility.cs.There is no easy way to prevent the VPP from doing access checks, and the scheduler runs anonymously so its kind of a catch-22. The only way I managed to run the scheduler, was by setting bypassAccessCheck="true" on the pageFolder VPP.

Change History

comment:1 Changed 11 years ago by graham.moore@…

  • Status changed from new to assigned

Turning off file indexing also causes the error to occur

comment:2 Changed 11 years ago by andyturl@…

Added access control bypassing in [1836]. Does this fix the issue? If not user role impersonation will be added to the scheduler when it gets updated.

comment:3 Changed 11 years ago by andyturl@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See HelpUser/Tickets for help on using tickets.