Install profiles and upgrades#
Profiles#
Profile id |
Title |
Version |
|---|---|---|
|
Install |
1010 |
|
Rebuild the user catalog |
— |
|
Uninstall |
— |
|
Authorization server |
1001 |
|
Uninstall the authorization server |
— |
All are EXTENSION profiles.
pas.plugins.identity:default#
One profile installs everything the core layer needs:
the Identity providers control panel
the
identityPAS plugin, for extraction, authentication and credentials resetthe
identity_profilePAS plugin, at the top ofIPropertiesPluginthe
UserProfile,UserGroupandPrincipalsContainercontent typesuser_profile_workflowand the group workflowthe user catalog the two types are filed in
the registry records in Settings, pointed at this package's own types
the permissions and rolemap in Permissions
Import and export steps#
Beside the steps GenericSetup and Plone already register, this profile carries one of its own.
Step |
File |
What it does |
|---|---|---|
|
|
The user catalog's lexicon, indexes and metadata columns |
It exists because GenericSetup's own catalog step resolves its target with
queryUtility(ICatalogTool), which answers portal_catalog and has no notion
of a second catalog. The filename differs for the same reason: a catalog.xml
here would be read by that step and applied to the site catalog.
The step is additive and re-runnable, and it exports as well as imports. It does not populate what it creates—see Add an index to the user catalog.
pas.plugins.identity:rebuild-catalog#
Re-catalogs every principal and reports what it repaired.
Apply it when enumeration or group membership returns stale answers—typically after a release that changed what the catalog stores. See Upgrade.
pas.plugins.identity.server:default#
The authorization server: the OAuth and OpenID Connect endpoints in Endpoints, the client registry, the signing keys, and the consent screen.
It is its own entry in the add-ons control panel, with its own install and uninstall button. The panel shows no version beside it, because the entry is named after a package rather than a distribution.
The uninstall profiles#
Every installable profile has a matching uninstall profile, and uninstalling is tested: the test installs, uninstalls, and asserts the site still works with no plugin, registry key, or tool left behind.
Uninstalling removes the catalog, the content types and the workflows. It leaves
every UserProfile object and its data exactly where it is.
Upgrades#
pas.plugins.identity:default is at version 1010. upgrades/ holds one package
per version, each registering the steps that take a site to it, and
portal_setup offers them to a site installed against an earlier release.
pas.plugins.identity.server:default is at 1001, with its steps laid out the
same way in server/upgrades/.
Upgrade lists what each step does.
An upgrade step is for what a reapplied profile cannot carry. Everything else—a registry record, a content type, a workflow, a plugin—reaches an existing site only if the profile is reapplied.
This is what the alpha status means in practice. See Stability for what that implies, and Upgrade for the procedure.