Can't create a new form in form builder

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

Can't create a new form in form builder

xweg
Hello

After using orbeon forms for a while I recognised that I can't create
any new forms anymore with form builder. Where the application name
should go an empty drop-down list is shown that i can't edit.
Is it normal, did someone else have the same experience?

greetings
Florian


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Can't create a new form in form builder

Alessandro Vernet
Administrator
Florian,

Florian Stoller wrote
After using orbeon forms for a while I recognised that I can't create
any new forms anymore with form builder. Where the application name
should go an empty drop-down list is shown that i can't edit.
Is it normal, did someone else have the same experience?
You can restrict which app/form people can edit with the file config/form-runner-roles.xml. So you could say that users with the role 'hr' can only edit forms in the 'hr' application. Did you change this file by any chance?

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Can't create a new form in form builder

xweg
Hello Alex,
Alessandro Vernet wrote
You can restrict which app/form people can edit with the file config/form-runner-roles.xml. So you could say that users with the role 'hr' can only edit forms in the 'hr' application. Did you change this file by any chance?
No, I didn't touch the "config/form-runner-roles.xml". I found out that it happens when I set
<property as="xs:string"  name="oxf.fr.authentication.method"> value="header"/> to "container" in the "properties-form-runner.xml" file.

The goal is to implement an authentication for the summary page. After the authenticaion only the forms related to the role show up (form-runner-roles.xml).

Here is what I tried:
- create the role on tomcat
- inserted the url-pattern "/fr/orbeon/builder/summary/" with the basic authentication method into web.xml
- change the authentication method in "properties-form-runner.xml" to "container"

When I try to login then I just see an empty summary list (also with <role name="*" app="*" form="*"/> in form-runner-roles.xml)

I don't think that I'm the first person who wants to do this. Did I do a configuration mistake or is my approach wrong?