My brain says it's feasible, but not being able to program a line of C# has run me into an issue.
My company is starting to use InfoPath 2007 to develop electronic forms for a number of our workflows. These we are storing in Form Libraries within our WSS 3.0 intranet site. The development and such has gone smootly, up to now.
One of our forms require a level of privacy. We want the form available to only the creator, our compnay's Directors and Manager (easy done) and a set of 2 other people, as assigned within the form. For example:
Form 1 is initiated by Bob, who assigns the form to his superiors Mary and Mike. Company Directors Bill and Jane, as well as General Manager John definately need to see ALL forms (this has been handled with Sharepoint permissions). ONLY the people mentioned above should be allowed to see Form 1; if another user Matt comes into the form Library, he shouldn't be able to see Form 1.
Without using WSS permission controls (as this would have to be changed for every form that goes into the library) can permissions on indivdual library items be set?
I was thinking it would be possible to retrieve the logon credentials of a user at library page load, check them against the names listed on each form (which can be retrieved from library columns), and only display the forms that contain the user. Am I right in thinking this is possible? If so, how would I go about it?