Set User Permission

Provide methods to set permission to specified doc using userID.
Change methods to receive userID when creating user.
Fix configs.
Revert "Set User Permission"

This reverts commit 91d2d4801537c659a5a9ff9639da10caa86ad7a7.