Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a process that inserts hundreds or thousands of documents a day into a WSS 2.0 site. Recently a developer who is no longer employed with us made a change to enable some approval functionality if an item meets certain criteria - that worked.

However a side effect of a change I've yet to uncover is that now all documents inserted into the site are approved upon insert. I've removed the code that he had added, but something else is still affecting the approval status.

The Time stamp on the file meta data for creation and last modified is exactly the same, so I know that it's not a process running after insertion doing this. The code that is inserting the file has no approval of any sort in it.

I'm thinking there has to be some sort of setting or permission in WSS 2.0 that approves a file upon insertion. Any ideas? Thanks!

share|improve this question
    
I should add that the user the insert process is running as has the "Contributor" group security permissions. I am currently researching whether this group is set to the default security permissions or if it has been modified. –  Dakine83 Feb 22 '13 at 21:08
    
Could this be a workflow? –  MicroSumol Feb 25 '13 at 22:47
    
Is there any event receiver, timer job, associated workflow? If you use some kind of versioning system I'd go there and search for modification your employee did and compare it with previous copy. My first try would be to contact the ex employee. –  luccio Feb 26 '13 at 9:07
    
I don't believe WSS 2.0 has workflows. I don't know what you mean by event receiver (Though this sounds promising, I'm going to go google), but I do know that there is only one job running at the time that these files are created. That code has no mention of approvals, nor the moderation object in general in it. We have a versioning system... this code is not in it... of course. Unfortunately contacting the employee is out of the question. –  Dakine83 Feb 26 '13 at 21:41
    
WSS 2.0 does not have workflows. This would be some sort of custom solution. I'm not familiar with WSS 2.0, but if it is anything like MOSS 2007 or SharePoint 2010, you should have access to Central Administration. I'd go there, and look and see what solutions have been deployed to your farm. One of them, may be associated with the particular event receiver that's triggering these approvals. –  Quinn Johns Mar 2 '13 at 1:28
show 3 more comments

1 Answer

up vote 0 down vote accepted

While I'm still unclear what exactly was auto approving documents upon insertion, removing the admin rights of the user doing the insertion immediately fixed the issue. I don't know if this was built in SP functionality or some other code that runs concurrently with the insert, but as the approvals happen at the exact time of insertion, or the documents are inserted approved already, I'm leaning towards built in SP functionality for documents inserted by an Administrator.

Please comment if you disagree. I would like to have a definitive understanding, even after fixing the issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.