Allow to remove permissions from page

Since it is possible to assign permissions to a page, it might be useful to have the ability to remove permissions from the page.
Fix code indent
Merge pull request #1647 from jaromirdalecky/feature/page-permissions

Allow to remove permissions from page