Permissions¶
PlonePGCatalogTool declares Zope AccessControl permissions on all
public methods.
The permission model mirrors ZCatalog so existing role
assignments carry over after migration.
Permission tiers¶
Search ZCatalog¶
Default roles: Anonymous, Manager
Method |
Notes |
|---|---|
|
Primary search method |
|
Alias for |
|
List index names |
|
List metadata column names |
|
Path for record ID (ZOID) |
|
Record ID for path |
|
|
|
Unique values for an index |
|
Deprecated proxy |
|
Available index types |
|
Blocked (NotImplementedError) |
|
Blocked (NotImplementedError) |
|
Blocked (NotImplementedError) |
|
Blocked (NotImplementedError) |
|
Blocked (NotImplementedError) |
|
Blocked (NotImplementedError) |
|
Blocked (NotImplementedError) |
Blocked methods use the same permission as ZCatalog so callers receive
NotImplementedError, not Unauthorized.
Manage ZCatalog entries¶
Default roles: Manager
Method |
Notes |
|---|---|
|
Index an object |
|
Remove from catalog |
|
Re-catalog all objects |
|
Re-apply a single index |
|
Clear and rebuild |
|
Clear all catalog data |
|
ZMI Catalog tab |
|
ZMI Advanced tab |
|
ZMI object detail |
|
ZMI Indexes & Metadata tab |
|
Catalog tab header data |
|
Paginated object list |
|
Single object detail |
|
Index/metadata registry |
Manage ZCatalogIndex entries¶
Default roles: Manager
Method |
Notes |
|---|---|
|
Register a new index |
|
Remove an index |
|
Register metadata column |
|
Remove metadata column |
|
List index objects |
Private (Python-only)¶
These methods are declared private and cannot be called
through-the-web or via URL traversal:
Method |
Description |
|---|---|
|
Search without security filters |
|
Search without security or queue processing |
|
Roles + groups for security filtering |
|
Increment the catalog counter |
|
Queue-aware index |
|
Queue-aware unindex |
|
Queue-aware reindex |
|
Direct index (IndexQueue processor) |
|
Direct unindex (IndexQueue processor) |
|
Direct reindex (IndexQueue processor) |
ZCatalog parity¶
Permissions are identical to those declared by ZCatalog and CMFPlone’s
CatalogTool.
After migrating from ZCatalog, any custom role-permission
mappings defined in your site’s portal_catalog Security tab carry over
unchanged.