Commit 073b8a18 authored by Tres Seaver's avatar Tres Seaver Committed by GitHub

Merge pull request #119 from zopefoundation/altdatabasemanager-roles-213

Explicitly require Manager role for `AltDatabaseManager`.
parents d8693682 f073d8c1
......@@ -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
......
......@@ -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)
......
......@@ -482,6 +482,7 @@ class ApplicationManager(Folder,CacheManager):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment