Skip to content

Commit

Permalink
Merge pull request #119 from zopefoundation/altdatabasemanager-roles-213
Browse files Browse the repository at this point in the history
Explicitly require Manager role for `AltDatabaseManager`.
  • Loading branch information
tseaver committed May 13, 2017
2 parents d869368 + f073d8c commit 073b8a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -9,8 +9,8 @@ notifications:
- tseaver@palladion.com

install:
- python bootstrap.py
- bin/buildout
- pip install zc.buildout==2.3.1
- buildout

script:
- bin/alltests
Expand Down
1 change: 1 addition & 0 deletions doc/CHANGES.rst
Expand Up @@ -8,6 +8,7 @@ http://docs.zope.org/zope2/
2.13.27 (unreleased)
--------------------

- Explicitly require Manager role for ``AltDatabaseManager``. [maurits]


2.13.26 (2017-02-20)
Expand Down
1 change: 1 addition & 0 deletions src/App/ApplicationManager.py
Expand Up @@ -482,6 +482,7 @@ def objectIds(self, spec=None):
class AltDatabaseManager(DatabaseManager, CacheManager):
""" Database management DBTab-style
"""
__roles__ = ('Manager', )
db_name = ApplicationManager.db_name.im_func
db_size = ApplicationManager.db_size.im_func
manage_pack = ApplicationManager.manage_pack.im_func
Expand Down

0 comments on commit 073b8a1

Please sign in to comment.