Jump to content

Front end editing without backend access?


JayGee
 Share

Recommended Posts

As per the title really, is it possible to set up front end editing permission on a template without granting a user access to the back end dashboard?

I know I can allow editing with the API but seems to be reinventing the wheel somewhat!

Link to comment
Share on other sites

  On 5/21/2020 at 8:55 PM, bernhard said:

Actually this would also prevent you from opening the login-screen. But you get the idea and can modify it to your needs (like checking for a user role or a page template or id etc.).

Expand  

Yes sure I can make something work here thanks. Love these kind of simple approaches - I was way overthinking it!

  • Like 1
Link to comment
Share on other sites

  On 5/21/2020 at 9:33 PM, Ivan Gretsky said:

Wouldn't it also break complex fields frontend editing, which happens in popup iframes with admin pages loaded?

Expand  

Interesting I hadn't considered that.

I was wondering - could I just change the admin template permissions in the access tab to exclude the roles I don't want to give backend access to? Any unforeseen consequences here? ?

 

Link to comment
Share on other sites

  On 5/22/2020 at 8:48 AM, Guy Incognito said:

I was wondering - could I just change the admin template permissions in the access tab to exclude the roles I don't want to give backend access to? Any unforeseen consequences here? ?

Expand  

I think that would have the same effect of breaking frontend editing modals. But you can easily allow modals via checking if $input->get->modal == true (note double == not triple, because modal can be 1 or panel or modal)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...