user-access-manager icon indicating copy to clipboard operation
user-access-manager copied to clipboard

UAM not working on pages created with SiteOrigin Page Builder

Open sndmails2arun opened this issue 8 years ago • 13 comments

UAM restrict user access perfectly for the pages that I create with Visual editor or text editor. However the pages that has content created by the Page Builder editor (Page Builder by SiteOrigin plugin) doesn't get restricted by UAM. eg: https://www.clinicalslides.com/jsahfdkljsfjdas/

sndmails2arun avatar May 15 '17 16:05 sndmails2arun

Gets the restriction always lost?

GM-Alex avatar May 16 '17 14:05 GM-Alex

image

image

I have tested this with multiple pages. When the page is directly edited by the PageBuilder, the access control is lost. If I switch back to Text editor mode with same content and save, the access control works again. However, when converting from PageBuilder to Text editor some of the styling on the page get messed up. So I cant switch to text editor. Please let me know if you need more info

sndmails2arun avatar May 16 '17 15:05 sndmails2arun

I think it duplicates #74. Seems the same. I will close this. Now version with the fix will come today or tomorrow. If it still happens with the now version we can open this issue again.

GM-Alex avatar May 16 '17 15:05 GM-Alex

I updated to latest version and the issue still remains.

sndmails2arun avatar May 18 '17 00:05 sndmails2arun

Hi, I have the same issue here. i'm using SiteOrign Page Builder and my pages doesn't becabe protected at all.

efbass avatar Jun 01 '17 17:06 efbass

Could you be a little more exact. Are the checkboxes not saved? Or what is exactly happening? For me it seems to work.

GM-Alex avatar Jun 01 '17 17:06 GM-Alex

All checkboxes saved ok but no protection

efbass avatar Jun 01 '17 18:06 efbass

I updated to latest version and issue still not resolved

sndmails2arun avatar Jun 26 '17 16:06 sndmails2arun

Hi, I am facing the same problem. Pages that contain site origin page builder panels are not protected. If I revert the content of the page builder panels to html (editable with the standard editor) everything works fine.

Can you give me a hint how the UAM select pages for protection? I wonder why this problem exits. The pages with page builder panels are normal pages of post type "page". The content is saved in the database as html. So far no hint that the pages are especially marked as "page builder pages" or something else.

I would expect that the UAM just check if a page is marked as protected or not, regardless of the content.

I tryed to deactivate every other plugin, that doesn't helped.

I need help with this issue.

chrisugit avatar Nov 27 '17 11:11 chrisugit

I have discovered now that the SiteOrigins Page Builder doesn't write anything in the standard content area. The content of the panels are stored in the _postmeta-Table, the entries are stored under the meta-key (userdefined field) "panels_data".

So I guess the problem lies in that fact that the UAM doesn't process the meta-data.

Despite that problem i have to say to GM-Alex: great work! :-)

chrisugit avatar Nov 27 '17 16:11 chrisugit

Guys I'm not able to reproduce the issue, it works for me like expected. Could some give me access to his page (backend user and FTP / SFTP)? Best would be a test environment.

GM-Alex avatar Dec 12 '17 08:12 GM-Alex

Alex, i'm not following the issue further because I find a workaround without UAM.

Please try to set up a fresh wordpress installation with SiteOrigins Page Builder and UAM. Of course, you have to build the content of a page with the SiteOrigins Page Builder Panels, then you will see the problem.

I have done this several times, the error occured always, so I think it is easy to reproduce the error.

chrisugit avatar Jan 23 '18 06:01 chrisugit

The issue is still easily reproducible: Fresh wordpress installation with SiteOrigins Page Builder and UAM Page with simple content works well, after switching content to Page Builder - title works well but content always shown.

alex-gav avatar Sep 24 '19 10:09 alex-gav