Security Settings in SharePoint for InfoPath Submission

L

LyLy

Hi,
I have an InfoPath form that gets submitted to a SharePoint library. I
realized that in order to be able to submit the form, the users must have
Contribute rights to the SharePoint Library, if not they get an error message
in InfoPath.

My problem is I want them to be able to Submit a form, but not be able to
modify or delete items in that SharePoint library. Is there any way I can
set security settings to allow them to submit, but not modify or delete. I
tried customized security, but an error was still received in InfoPath. If
you do not know, can you point me to a person or site that would have the
answer? Thanks in advance for any help you can give me on this.

LyLy
 
N

Nezih Tınas ( MVP )

Hi,

You should create a new permission level on SharePoint. You can use
"Contributer" permission level as a basis, uncheck the "Edit Item", "Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.

Have a nice day...
 
L

LyLy

Hi, thank you for your quick response.

I did try customized security and did exactly what you just described. Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:

"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"

The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not. Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security. Any
ideas?

Thank you again for any assistance you can give me....
LyLy
 
S

SMS

Does the user submit a new form or opens an old one and edits and
resubmit?

If it is a resubmit, then it will not work with Contributor, because
you need an Edit permission for that.

One way around this is to use item level security and removing the
permissions using workflow.

Workflows are run on the item but the user who starts the workflow. So
if "A" creates a new item, he is the runner of the WF and will be
required to have permission on that item.

Saiju

Hi, thank you for your quick response.

I did try customized security and did exactly what you just described.  Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:

"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"

The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not.  Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security.  Any
ideas?

Thank you again for any assistance you can give me....
LyLy

Nezih Tınas ( MVP ) said:
You should create a new permission level on SharePoint. You can use
"Contributer" permission level as a basis, uncheck the "Edit Item", "Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.
Have a nice day...
 
L

LyLy

Thanks for the quick response. The error occurs on new form submissions also.
Again the request does go to SharePoint, but they receive the error stating
it did not.

Could you please explain further about item level security and removing
permissions using workflow? Would this work if there are multiple people who
can submit a form? If so, how do I set it up?

Thank you so much for your input.

Lyly
SMS said:
Does the user submit a new form or opens an old one and edits and
resubmit?

If it is a resubmit, then it will not work with Contributor, because
you need an Edit permission for that.

One way around this is to use item level security and removing the
permissions using workflow.

Workflows are run on the item but the user who starts the workflow. So
if "A" creates a new item, he is the runner of the WF and will be
required to have permission on that item.

Saiju

Hi, thank you for your quick response.

I did try customized security and did exactly what you just described. Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:

"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"

The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not. Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security. Any
ideas?

Thank you again for any assistance you can give me....
LyLy

Nezih Tınas ( MVP ) said:
You should create a new permission level on SharePoint. You can use
"Contributer" permission level as a basis, uncheck the "Edit Item", "Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.
Have a nice day...
Hi,
I have an InfoPath form that gets submitted to a SharePoint library. I
realized that in order to be able to submit the form, the users must have
Contribute rights to the SharePoint Library, if not they get an error
message
in InfoPath.
My problem is I want them to be able to Submit a form, but not be able to
modify or delete items in that SharePoint library. Is there any way I can
set security settings to allow them to submit, but not modify or delete.
I
tried customized security, but an error was still received in InfoPath.
If
you do not know, can you point me to a person or site that would have the
answer? Thanks in advance for any help you can give me on this.
 
S

SMS

Just like you can assign permissions to a library, you can do it for
an item too. In the "edit menu" of an item if you click "Manage
Permission" of an item, you can see it. It is initially linked to the
permissions of library. But be careful if you break it. Becoz then you
will have to goto individual items and change permissions if you want
to change something for the library.


To do it using WF:
Are you creating Workflow using Designer or Code?
Using Code:
http://blogs.msdn.com/pranab/archiv...s-list-document-library-programmatically.aspx

Using Designer:
there are two actions:
a )Grant Permission on Item
b) Delete List Item Permission Assignment

Thanks for the quick response. The error occurs on new form submissions also.
 Again the request does go to SharePoint, but they receive the errorstating
it did not.

Could you please explain further about item level security and removing
permissions using workflow?  Would this work if there are multiple people who
can submit a form?  If so, how do I set it up?

Thank you so much for your input.

Lyly



SMS said:
Does the user submit a new form or opens an old one and edits and
resubmit?
If it is a resubmit, then it will not work with Contributor, because
you need an Edit permission for that.
One way around this is to use item level security and removing the
permissions using workflow.
Workflows are run on the item but the user who starts the workflow. So
if "A" creates a new item, he is the runner of the WF and will be
required to have permission on that item.

Hi, thank you for your quick response.
I did try customized security and did exactly what you just described..  Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:
"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"
The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not.  Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security.  Any
ideas?
Thank you again for any assistance you can give me....
LyLy
:
Hi,
You should create a new permission level on SharePoint. You can use
"Contributer" permission level as a basis, uncheck the "Edit Item","Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.
Have a nice day...
Hi,
I have an InfoPath form that gets submitted to a SharePoint library.  I
realized that in order to be able to submit the form, the users must have
Contribute rights to the SharePoint Library, if not they get an error
message
in InfoPath.
My problem is I want them to be able to Submit a form, but not beable to
modify or delete items in that SharePoint library.  Is thereany way I can
set security settings to allow them to submit, but not modify or delete.
I
tried customized security, but an error was still received in InfoPath.
If
you do not know, can you point me to a person or site that would have the
answer?  Thanks in advance for any help you can give me on this.
LyLy- Hide quoted text -

- Show quoted text -
 
L

LyLy

My workflow is on the SharePoint Library and in order for them to be able to
submit the form they must already have contribute access to that library. So
are you saying that I can remove their ability to edit or delete an item via
the workflow:
b) Delete List Item Permission Assignment, but still allow them to open it
and view it? Im so sorry that I am still confused on how to handle this via
the workflow.

SMS said:
Just like you can assign permissions to a library, you can do it for
an item too. In the "edit menu" of an item if you click "Manage
Permission" of an item, you can see it. It is initially linked to the
permissions of library. But be careful if you break it. Becoz then you
will have to goto individual items and change permissions if you want
to change something for the library.


To do it using WF:
Are you creating Workflow using Designer or Code?
Using Code:
http://blogs.msdn.com/pranab/archiv...s-list-document-library-programmatically.aspx

Using Designer:
there are two actions:
a )Grant Permission on Item
b) Delete List Item Permission Assignment

Thanks for the quick response. The error occurs on new form submissions also.
Again the request does go to SharePoint, but they receive the error stating
it did not.

Could you please explain further about item level security and removing
permissions using workflow? Would this work if there are multiple people who
can submit a form? If so, how do I set it up?

Thank you so much for your input.

Lyly



SMS said:
Does the user submit a new form or opens an old one and edits and
resubmit?
If it is a resubmit, then it will not work with Contributor, because
you need an Edit permission for that.
One way around this is to use item level security and removing the
permissions using workflow.
Workflows are run on the item but the user who starts the workflow. So
if "A" creates a new item, he is the runner of the WF and will be
required to have permission on that item.

Hi, thank you for your quick response.
I did try customized security and did exactly what you just described.. Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:
"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"
The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not. Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security. Any
ideas?
Thank you again for any assistance you can give me....
LyLy
:

You should create a new permission level on SharePoint. You can use
"Contributer" permission level as a basis, uncheck the "Edit Item", "Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.
Have a nice day...
Hi,
I have an InfoPath form that gets submitted to a SharePoint library. I
realized that in order to be able to submit the form, the users must have
Contribute rights to the SharePoint Library, if not they get an error
message
in InfoPath.
My problem is I want them to be able to Submit a form, but not be able to
modify or delete items in that SharePoint library. Is there any way I can
set security settings to allow them to submit, but not modify or delete.
I
tried customized security, but an error was still received in InfoPath.
If
you do not know, can you point me to a person or site that would have the
answer? Thanks in advance for any help you can give me on this.
LyLy- Hide quoted text -

- Show quoted text -
 
S

SMS

I guess your using SharePoint Designer.

Suppose you have a user called A who has Contribute Permission and you
want to give to change it to Read for the Item, so you can do the
following:

A) Delete Permission for User A
b) Grant Read Permssion to User A.

SMS
My workflow is on the SharePoint Library and in order for them to be ableto
submit the form they must already have contribute access to that library.So
are you saying that I can remove their ability to edit or delete an item via
the workflow:
b) Delete List Item Permission Assignment, but still allow them to open it
and view it? Im so sorry that I am still confused on how to handle this via
the workflow.

SMS said:
Just like you can assign permissions to a library, you can do it for
an item too. In the "edit menu" of an item if you click "Manage
Permission" of an item, you can see it. It is initially linked to the
permissions of library. But be careful if you break it. Becoz then you
will have to goto individual items and change permissions if you want
to change something for the library.


To do it using WF:
Are you creating Workflow using Designer or Code?
Using Code:
http://blogs.msdn.com/pranab/archiv...s-list-document-library-programmatically.aspx

Using Designer:
there are two actions:
a )Grant Permission on Item
b) Delete List Item Permission Assignment

Thanks for the quick response. The error occurs on new form submissions also.
Again the request does go to SharePoint, but they receive the error stating
it did not.

Could you please explain further about item level security and removing
permissions using workflow? Would this work if there are multiple people who
can submit a form? If so, how do I set it up?

Thank you so much for your input.

Lyly



:
Does the user submit a new form or opens an old one and edits and
resubmit?

If it is a resubmit, then it will not work with Contributor, because
you need an Edit permission for that.

One way around this is to use item level security and removing the
permissions using workflow.

Workflows are run on the item but the user who starts the workflow.So
if "A" creates a new item, he is the runner of the WF and will be
required to have permission on that item.

Saiju

Hi, thank you for your quick response.

I did try customized security and did exactly what you just described.. Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:

"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"

The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not. Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security. Any
ideas?

Thank you again for any assistance you can give me....
LyLy

:

Hi,

You should create a new permission level on SharePoint. You canuse
"Contributer" permission level as a basis, uncheck the "Edit Item", "Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.

Have a nice day...

Hi,
I have an InfoPath form that gets submitted to a SharePoint library. I
realized that in order to be able to submit the form, the users must have
Contribute rights to the SharePoint Library, if not they get an error
message
in InfoPath.

My problem is I want them to be able to Submit a form, but not be able to
modify or delete items in that SharePoint library. Is there any way I can
set security settings to allow them to submit, but not modifyor delete.
I
tried customized security, but an error was still received inInfoPath.
If
you do not know, can you point me to a person or site that would have the
answer? Thanks in advance for any help you can give me on this.

LyLy- Hide quoted text -

- Show quoted text -
 
L

LyLy

Yes, im sorry I am using SharePoint Designer. Thank you so much, that works
great! Thank you for your expertise and patience, it is greatly appreciated!

LyLY

SMS said:
I guess your using SharePoint Designer.

Suppose you have a user called A who has Contribute Permission and you
want to give to change it to Read for the Item, so you can do the
following:

A) Delete Permission for User A
b) Grant Read Permssion to User A.

SMS
My workflow is on the SharePoint Library and in order for them to be able to
submit the form they must already have contribute access to that library. So
are you saying that I can remove their ability to edit or delete an item via
the workflow:
b) Delete List Item Permission Assignment, but still allow them to open it
and view it? Im so sorry that I am still confused on how to handle this via
the workflow.

SMS said:
Just like you can assign permissions to a library, you can do it for
an item too. In the "edit menu" of an item if you click "Manage
Permission" of an item, you can see it. It is initially linked to the
permissions of library. But be careful if you break it. Becoz then you
will have to goto individual items and change permissions if you want
to change something for the library.


To do it using WF:
Are you creating Workflow using Designer or Code?
Using Code:
http://blogs.msdn.com/pranab/archiv...s-list-document-library-programmatically.aspx

Using Designer:
there are two actions:
a )Grant Permission on Item
b) Delete List Item Permission Assignment

Thanks for the quick response. The error occurs on new form submissions also.
Again the request does go to SharePoint, but they receive the error stating
it did not.

Could you please explain further about item level security and removing
permissions using workflow? Would this work if there are multiple people who
can submit a form? If so, how do I set it up?

Thank you so much for your input.

Lyly



:
Does the user submit a new form or opens an old one and edits and
resubmit?

If it is a resubmit, then it will not work with Contributor, because
you need an Edit permission for that.

One way around this is to use item level security and removing the
permissions using workflow.

Workflows are run on the item but the user who starts the workflow. So
if "A" creates a new item, he is the runner of the WF and will be
required to have permission on that item.

Saiju

Hi, thank you for your quick response.

I did try customized security and did exactly what you just described.. Even
with the customized security, the problem is that they receive the following
error message in InfoPath when they hit submit:

"The form cannot be submitted to: [path]"
"The site may be offline, read-only, or otherwise unavailable"
"Unspecified Error"

The form DOES get submitted but the message the user gets in InfoPath
indicates that it did not. Also, the workflow I have on the SharePoint
library does not appear to work correctly with the customized security. Any
ideas?

Thank you again for any assistance you can give me....
LyLy

:

Hi,

You should create a new permission level on SharePoint. You can use
"Contributer" permission level as a basis, uncheck the "Edit Item", "Delete
Item" check boxes and save it as a new permission level. After this, you can
use your new permission level for your groups and individuals.

Have a nice day...

Hi,
I have an InfoPath form that gets submitted to a SharePoint library. I
realized that in order to be able to submit the form, the users must have
Contribute rights to the SharePoint Library, if not they get an error
message
in InfoPath.

My problem is I want them to be able to Submit a form, but not be able to
modify or delete items in that SharePoint library. Is there any way I can
set security settings to allow them to submit, but not modify or delete.
I
tried customized security, but an error was still received in InfoPath.
If
you do not know, can you point me to a person or site that would have the
answer? Thanks in advance for any help you can give me on this.

LyLy- Hide quoted text -

- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top