Check user rights when restricting entity page actions

(bug 48086)
In addition to the user groups, the rights are checked as well now. This will detect the
"autoconfirmed" right set on custom groups preventing disabling of entity page actions
when a page is semi-protected.

Change-Id: Iaa4cc13edda213b3b17a8fd9912a23fc0658a6e9
Merge "Check user rights when restricting entity page actions"