code: private static PermissionDefinition createPermission(String permission, String description) {
  
          PermissionDefinitionDataImpl pd = new PermissionDefinitionDataImpl();
          pd.setId(permission);
          pd.setDescription(description);
  
          return pd;
      }
docs: Creates a permission definition.<p>
  
  @param permission the permission name
  @param description the permission description
  
  @return the new permission definition