How to test permission settings enabled in XForm

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to test permission settings enabled in XForm

akmishra

Permission settings have been enabled for the form.

Below is the permission element gets added in the form
             <permissions>
                        <permission operations="create read update delete">
                            <user-role any-of="admin"/>
                        </permission>
                    </permissions>

Now I want to test this setting externally using postman.
Can any one have idea about this.






--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: How to test permission settings enabled in XForm

Alessandro  Vernet
Administrator
Hi AK,

The permissions you define in Form Builder are for end users interacting
with forms, not necessarily for the back-end CRUD APIs. You can test they
work as expected by clicking in the UI, or if you want to automate this,
using something like Selenium. Does this make sense? And you'll let me know
if I misunderstood your question.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: How to test permission settings enabled in XForm

akmishra
Hi Alex,

Thanks for your reply.
I just wanted to know how we can provide information about the users to
xform page so that it could be accessible on browser after enabling the
permission on page.

I have gone through the tutorial
https://doc.orbeon.com/form-runner/access-control/users.
But it is still not clear to me.
Could you please send me the example of the user information structure.






--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: How to test permission settings enabled in XForm

Alessandro  Vernet
Administrator
Hi AK,

If you don't already have users setup somewhere, and just have a few users
you want to configure, the simplest is most likely to set them up in the
`tomcat-users.xml`. This is a Tomcat config, so you'll find more about it in
the Tomcat documentation.

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet