Portlet permission.
This code was partially inspired from articles from:
Constructor for PortletPermission.