Skip to content

Commit

Permalink
Move built-in vocabulary permissions to plone.app.vocabularies
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Oct 31, 2021
1 parent f9ad351 commit fe30259
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plone/app/vocabularies/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@

import zope.deferredimport

DEFAULT_PERMISSION = "View"
DEFAULT_PERMISSION_SECURE = "Modify portal content"
PERMISSIONS = {
"plone.app.vocabularies.Catalog": "View",
"plone.app.vocabularies.Keywords": "Modify portal content",
"plone.app.vocabularies.SyndicatableFeedItems": "Modify portal content",
"plone.app.vocabularies.Users": "Modify portal content",
"plone.app.multilingual.RootCatalog": "View",
}

zope.deferredimport.deprecated(
"Import from plone.app.vocabularies.principals instead",
Expand Down

0 comments on commit fe30259

Please sign in to comment.