Document Repository permissions revamp