Are there any known issuses with applying both view restrictions and edit restrictions to a page created from template using confiforms. I use two separate IFTTT macros (one for restrict edit and one for restrict view) and i add two security groups.
When i create the page it is not listed in the content by label macro, but if i change the IFTTT macro from view restrictions to edit restricitions, it works fine.
Anything i might be forgetting?
Hi
This is hard to debug remotely, to be honest. But what I know is the content by label macro relies on the search index being in sync and it does check for "view" permissions
What happens when you create a same restricted page manually - does it show up in the content by label macro results?
Alex
It works fine if i create one manually. The same page also shows up if i remove the restrictions and apply them again manually.
I can send you the form setup source code, but not post it here.
And also: the form is rendered by a usermacro with parameters
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I cannot reproduce this, but it is true that sometimes it might take some time for content macro by label to show the contents.
As noted earlier it (seems like) depends on the search index update
You can try to add an IFTTT to your form submit flow to include "Force page re-index" to ensure the page gets picked up earlier by indexer
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does not help to re-index the page i'm afraid. This is a problem which occurs (as far as i know) only when using confiforms. It is strange that everything under permissions seems to be normal.
I agree, it must be an index problem. It is not showing up in the content by label macro. I'll check again tomorrow and see if it has indexed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can share with you a test configuration I have been using (in storage format). It includes the earlier mentioned configuration of an IFTTT to force reindex...
<p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="confiform" ac:schema-version="1" ac:macro-id="17f87525-c5ea-4ced-90a7-54c54f353798"><ac:parameter ac:name="formName">f</ac:parameter><ac:rich-text-body> <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="confiform-entry-register" ac:schema-version="1" ac:macro-id="42d4802a-cd77-498d-8617-8e718dda6c0f"><ac:rich-text-body> <p><br /></p></ac:rich-text-body></ac:structured-macro> <p class="auto-cursor-target"><ac:structured-macro ac:name="confiform-field-definition" ac:schema-version="1" ac:macro-id="9bfad2c0-85bc-4f66-bf9e-30059d710767"><ac:parameter ac:name="fieldName">t</ac:parameter><ac:parameter ac:name="fieldLabel">t</ac:parameter><ac:parameter ac:name="type">text</ac:parameter></ac:structured-macro></p><ac:structured-macro ac:name="confiform-ifttt" ac:schema-version="1" ac:macro-id="56beaf09-5ce5-472a-9510-422d4f1a8bc6"><ac:parameter ac:name="action">Create Page</ac:parameter><ac:parameter ac:name="event">onCreated</ac:parameter><ac:parameter ac:name="title">[entry.t]</ac:parameter><ac:parameter ac:name="extras2">test</ac:parameter><ac:rich-text-body> <p><br /></p></ac:rich-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="confiform-ifttt" ac:schema-version="1" ac:macro-id="f401e454-1376-4bf7-ba12-5816ae89bbc9"><ac:parameter ac:name="action">Restrict Page View</ac:parameter><ac:parameter ac:name="extras">[iftttResult_0.id]</ac:parameter><ac:parameter ac:name="event">onCreated</ac:parameter><ac:parameter ac:name="who">[entry._user]</ac:parameter><ac:rich-text-body> <p><br /></p></ac:rich-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="confiform-ifttt" ac:schema-version="1" ac:macro-id="d90551b4-d4c1-4678-80d9-b3dfb53ba023"><ac:parameter ac:name="action">Force Page Re-index</ac:parameter><ac:parameter ac:name="extras">[iftttResult_0.id]</ac:parameter><ac:parameter ac:name="event">onCreated</ac:parameter><ac:rich-text-body> <p><br /></p></ac:rich-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro> <p><ac:structured-macro ac:name="children" ac:schema-version="2" ac:macro-id="b3aa4207-5804-4b0b-8c8b-ea3bd770e2b0" /></p>
Then I have another page that uses contents by label macro to show pages by "test" label
Hope you see the same results as I do
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll check it out. One thing i forgot to mention is that the person who creates the page can see it in the content by label macro if they are added as a user with edit permission. I find that a little strange
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still the same. And the indexing queue is empty.
The problem does not occur when i add the same security group in the ifttt for restrict view and the ifttt for restrict edit.
It only occurs when i add a different group in the restrict view ifttt. @Alex Medved _ConfiForms_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.