Form permissions to edit or not
Hello,
I'm currently evaluating spform on our Sharepoint 2013 Foundation. So far, it looks really interesting!
I have created a list where users can create entries using the New Form which works fine. I have one field in this list defined as "People" where we can identify who is the person responsible for this entry.
Now I would like to have only the creator of this entry and also the person assigned to this responsible field to be able to edit the list entry.
I have created two different Edit Form (All users version + User-defined rule) because the editable fields vary but I don't want other people to be able to edit the entry. Is there any way I can manage this?
Thank you!
I'm currently evaluating spform on our Sharepoint 2013 Foundation. So far, it looks really interesting!
I have created a list where users can create entries using the New Form which works fine. I have one field in this list defined as "People" where we can identify who is the person responsible for this entry.
Now I would like to have only the creator of this entry and also the person assigned to this responsible field to be able to edit the list entry.
I have created two different Edit Form (All users version + User-defined rule) because the editable fields vary but I don't want other people to be able to edit the entry. Is there any way I can manage this?
Thank you!
Hello,
Not sure if I got you completely. But, as you already know, you can provide different forms to different users via user group rules. To identify if the standard Created By field contains the current user just do
ContainsCurrentUser([Created By])
in the user defined rule editor.
If you want to captchure users in the created by field and in the people field you can simply do:
Does that answer your question?
Not sure if I got you completely. But, as you already know, you can provide different forms to different users via user group rules. To identify if the standard Created By field contains the current user just do
ContainsCurrentUser([Created By])
in the user defined rule editor.
If you want to captchure users in the created by field and in the people field you can simply do:
Code: Select all
ContainsCurrentUser([Created By]) || ContainsCurrentUser([People])
Sorry, I wasn't really clear
Actually, it's not really a spform problem but I think that using spform I can manage it somehow.
Based on Sharepoint security, my users have access to create & edit entries in the list. They should be allowed to edit entries created by someone else if the creator of the record put their name in a people field of the list. However if they are not the creator of the record and if their name is not in that people field, they should not be able to edit the record.
I managed it by creating a user-defined rule form that simply prints "You're not allowed to edit that record" and by also removing the "Save" button.
Actually, it's not really a spform problem but I think that using spform I can manage it somehow.
Based on Sharepoint security, my users have access to create & edit entries in the list. They should be allowed to edit entries created by someone else if the creator of the record put their name in a people field of the list. However if they are not the creator of the record and if their name is not in that people field, they should not be able to edit the record.
I managed it by creating a user-defined rule form that simply prints "You're not allowed to edit that record" and by also removing the "Save" button.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests