Developer forum

Forum » Development » Access to Frontend Edit

Access to Frontend Edit


Reply
I was testing Frontend Edit today with the new User Management module. Specifically, I wanted the user to be able to access the Frontend Edit functionality - without logging into the backend. I created a new extranet user and gave him access to backend.

However, the new user is not able to access the Frontend Edit functionality without first logging in to the backend. Is this by design, or?

I guess I can always log in the user by creating a notification. But it would be easier if Dynamicweb handled it. ;-)

Replies

 
Nicolai Høeg Pedersen
Reply

It is by design... You can log the user into the backend though - he would require the "Allow backend login" setting to do that.

Take a look at this thread:
http://engage.dynamicweb-cms.com/Forum-5.aspx?action=ShowThread&ThreadID=1800

 
Reply
Yup, I figured it out by looking at this article: http://developer.dynamicweb.dk/default.aspx?id=16918&action=ShowArticle&ArticleID=141.
 
Lars Larsen
Reply

Hi Peter
The link you refer to does not work any longer! So how did you fix your problem? I too want to make a backend login possibility for users who just want to use frontend edit.
 
Lars Larsen
Reply

I wrote with Nicolai and he gave me this tip:
  • Activate "Allow backend login" for the user who should be able to login to the backend from the frontend
  • Make a notification subscriber on "Standard.User.OnExtranetLogin"
  • In the notification subscriber log the user in to the backend, using the same username and password
  • When logged in the user is redirected to the same page from where he logged in, but now in frontend edit mode

I came up with this (maybe someone would find this usefull):


Capture.PNG
 
Nicolai Høeg Pedersen
Reply
Hi Lars

Thanks for sharing!

 

You must be logged in to post in the forum