paste this code into the page_load event of the page you want to restrict.
if (NopContext.Current.User == null || NopContext.Current.User.IsGuest)
{
// chose one of these options
// 1 - either redirect to login url
string loginURL = SEOHelper.GetLoginPageURL(true);
Response.Redirect(loginURL);
// 2 - or anotherpage
Response.Redirect("~/restrictedArea.html");
// 3 - anything you want
}
look at Account.aspx.cs as example.
if (NopContext.Current.User == null || NopContext.Current.User.IsGuest)
{
// chose one of these options
// 1 - either redirect to login url
string loginURL = SEOHelper.GetLoginPageURL(true);
Response.Redirect(loginURL);
// 2 - or anotherpage
Response.Redirect("~/restrictedArea.html");
// 3 - anything you want
}
look at Account.aspx.cs as example.
Also if you know how to do it, in 1.50 , you can add the function you need to protect in the ACL list and assign it to a user role and assign the users (techs) to the right role.
that's what ACL is for.