Dynamic assignment of permissions to a new item in a list or libra

M

MikeInventure

We have built an InfoPath form for our HR dept to use for employee
terminations, and we are going to use it as part of an entire workflow that
gets built around it with a proper IA, but for now we are going for the “low
hanging†fruit of just deploying the form to a SP library and just using the
emailing of links instead of emailing multiple copies of the form around to
get it filled out.

Since termination is intrinsically a very confidential process, when an
instance of the InfoPath termination form is created for a specific
termination, HR wants only the manager that creates the form to have any
access to it. The security trimming features of SP will not even allow
others to see that it exists, which is the perfect situation. In order to
achieve this, the inherited permissions of the library must be broken at the
time of creation of the form instance, and be replaced with permissions for
the manager who instantiated the form, along with permissions for the SP
group of HR clerks who will process the termination. This requires the name
of the currently logged on user to be dynamically retrieved and be used to
alter the permissions on the newly created instance of the form.

We’re wondering if it’s possible to do this using the SP interface or SP
designer, without having to crack open Visual Studio to dig into the code.

Anyone have any ideas?

Thanks,
Mike
 
B

Bob Buckland ?:-\)

Hi Mike,

You may want to also post this in the SharePoint Design discussion group through the link below.

==============
We have built an InfoPath form for our HR dept to use for employee
terminations, and we are going to use it as part of an entire workflow that
gets built around it with a proper IA, but for now we are going for the "low
hanging" fruit of just deploying the form to a SP library and just using the
emailing of links instead of emailing multiple copies of the form around to
get it filled out.

Since termination is intrinsically a very confidential process, when an
instance of the InfoPath termination form is created for a specific
termination, HR wants only the manager that creates the form to have any
access to it. The security trimming features of SP will not even allow
others to see that it exists, which is the perfect situation. In order to
achieve this, the inherited permissions of the library must be broken at the
time of creation of the form instance, and be replaced with permissions for
the manager who instantiated the form, along with permissions for the SP
group of HR clerks who will process the termination. This requires the name
of the currently logged on user to be dynamically retrieved and be used to
alter the permissions on the newly created instance of the form.

We're wondering if it's possible to do this using the SP interface or SP
designer, without having to crack open Visual Studio to dig into the code.

Anyone have any ideas?

Thanks,
Mike >>
--
Please let us know if this has helped you,

Bob Buckland ?:)
MS Office System Products MVP

LINKS
A. MS Office Sharepoint Designer news/discussion group via newsreader software
news://msnews.microsoft.com/microsoft.public.sharepoint.design_and_customization
or
MS Office Sharepoint Designer new/discussion group via browser:
http://microsoft.com/communities/ne...ft.public.sharepoint.design_and_customization


B. MS Office Accounting Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com
 

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