MikeInventure
IS-IT--Management
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.
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.