docs: public PrivilegeImpl forName(String name) {
          if (name.contains("}")) {
              String localName = name.substring(name.indexOf('}') + 1);
              return privileges.get(localName);
          }
          
          if (name.contains(":")) {
              String localName = name.substring(name.indexOf(':') + 1);
              PrivilegeImpl p = privileges.get(localName);
              return p.getName().equals(name) ? p : null;
          }
  
          return null;
      }