I needed to meet a security requirement for an InfoPath form today. In this business situation, a relatively small number of individuals are allowed to create a new InfoPath form and a much wider audience are allowed to edit it. (Is é seo an nua-cíos bhfoirm ar-dul ar bord a úsáideann Acmhainní Daonna a Seolann an sreabhadh oibre).
Chun freastal ar an cuspóir sin a, Chruthaigh mé chruthaigh dhá leibhéal nua cead ("create and update" and "update only"), broke inheritance for the form library and assigned permissions to a "create, thabhairt cothrom le dáta" user and a separate "update only" úsáideoir. The mechanics all worked, but it turned out to be a little more involving than I expected. (Má bhraitheann tú beagán shaky ar cheadanna SharePoint, seiceáil amach blog post). The required security configuration for the permission level was not the obvious set of granular permissions. To create an update-only permission level for an InfoPath form, Rinne mé an méid seo a leanas:
- Cruthaigh leibhéal chead nua.
- Glan ar shiúl na roghanna go léir.
- Selected only the following from "List permissions":
- Cuir Míreanna
- Féach Míreanna
- Féach ar Leathanaigh Iarratais
Roghnú na roghanna cheadaíonn don úsáideoir chun foirm a nuashonrú, ach ní é a chruthú.
The trick was to enable the "View Application Pages". There isn’t any verbage on the permission level that indicates that’s required for update-only InfoPath forms, ach casadh amach go bhfuil sé.
Create-and-Update was even stranger. I followed the same steps, 1 trí 3 thuas. I had to specifically add a "Site Permission" rogha: "Use client integration features". Arís, Ní chuireann an cur síos ann é a dhéanamh cuma mhaith ba chóir dó a bheith ag teastáil le haghaidh foirm InfoPath, ach tá sé.
</deireadh>