code: public void addPermission(String roleName, String capability) {
      Permission permission = new Permission();
      permission.setRoleName(roleName);
      permission.setCapability(capability);
      this.permissions.add(permission);
    }
docs: adds a permission to this module
  @param roleName the role name to which the permission applies
  @param capability the capability of the permission.