hi,
I am breaking permissions on the sub site level and document library level. i have added a user at the sub site level with Contribute permissions and Read permission at the Doument Library level.
now i have created a visual web part with upload functionality programmatically with few metadata columns such that he will be able to upload the document and it will park it on the document library.
1) Now, when the user who has Contribute permissions on the sub site and read permissions at the doc lib level tries to upload the document through my custom web part, ia m getting access denied error.
can anyone tell, what am missing/ where should i make changes in the code,if required? am not using RunwithElevated privileges delegate in my web part.
2)Also just wanna know, if a user has contribute permission on the subsite and Read permission on the doc lib level , will he be able to upload a document into that document library?