LPS-40597

Hey Sergio,

I fixed some of the tests by adding resource permissions for the document library folder. I also fixed some of the changes in the actual permission classes, so that it would check the permissions correctly.

Thanks,
Eric