Correct permissions
Add helpers AlwaysTrue/False in CommonHandler
Merge pull request #1 from skirpichev/2152-rishabh

Correct permissions & use common AlwaysTrue/False handlers