The permission mechanism works the following way:
PermissionType allows to define a type of permission
(e.g. localStorage/locationData), storing a name and a set of
resource ids corresponding to the GUI resources.
Permission defines an actual permission instance, with a type and a value.
OriginPermissions holds an origin with a set of Permission objects |