alex-klock / razor-mediator-4-tridion

Automatically exported from code.google.com/p/razor-mediator-4-tridion
1 stars 4 forks source link

Saving templates fails if admin user not configured #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do not configure an admin user
2. ... or configure one, but do not configure the process to run as an 
impersonation user
3. Attempt to save a razor TBB

Under these circumstances, the mediator attempts to create a session, which in 
turn requires impersonating the admin user. 
(https://code.google.com/p/razor-mediator-4-tridion/source/browse/trunk/Tridion.
Extensions.Mediators.RazorMediator/Tridion.Extensions.Mediators.RazorMediator/Ra
zorHandler.cs#95)

Original issue reported on code.google.com by dominic....@gmail.com on 2 Feb 2014 at 6:40

GoogleCodeExporter commented 9 years ago
If the requirements are not met for impersonating an admin user, it would 
probably make sense for the RazorHandler.Session property to use the other 
overload of the Tridion session, making use of the context credentials. 

Original comment by dominic....@gmail.com on 2 Feb 2014 at 6:41

GoogleCodeExporter commented 9 years ago
See also 
http://tridion.stackexchange.com/questions/4283/razor-mediator-requires-admin-us
er-even-when-no-imports-are-configured

Original comment by dominic....@gmail.com on 2 Feb 2014 at 6:43

GoogleCodeExporter commented 9 years ago
I am facing the same issue. What is the solution?

Original comment by vipin85g...@gmail.com on 18 Jun 2014 at 10:58